diff options
Diffstat (limited to 'devel/imake-4/files/patch-xthreads')
-rw-r--r-- | devel/imake-4/files/patch-xthreads | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/devel/imake-4/files/patch-xthreads b/devel/imake-4/files/patch-xthreads deleted file mode 100644 index f4bb8d98b3b9..000000000000 --- a/devel/imake-4/files/patch-xthreads +++ /dev/null @@ -1,25 +0,0 @@ ---- cf/FreeBSD.cf.orig Thu Jun 7 16:25:47 2001 -+++ cf/FreeBSD.cf Thu Jun 7 16:28:30 2001 -@@ -80,7 +80,6 @@ - /* - * math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both. - */ --# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE - /* - * FreeBSD has tread-safe api but no getpwnam_r yet. - */ -@@ -91,8 +90,12 @@ - # else - # define BuildThreadStubLibrary YES - # define NeedUIThrStubs YES --# define ThreadsCompileFlags -pthread --# define ThreadsLibraries -pthread -+# if (OSRelVersion >= 500016) -+# define ThreadsLibraries -lc_r -+# else -+# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE -+# define ThreadsLibraries -pthread -+# endif - # define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB) - # define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB) - # endif |