summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries/files
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-11-02 00:45:49 +0000
committeranholt <anholt@FreeBSD.org>2002-11-02 00:45:49 +0000
commit0e6b52fef38785552c7aea5e8385cb4826aa42a3 (patch)
tree27520d56f79895c548844d776745be15c5f8d99f /x11/XFree86-4-libraries/files
parent390b28d054521786c66e02ef45aa9aa8dc050643 (diff)
downloadFreeBSD-ports-0e6b52fef38785552c7aea5e8385cb4826aa42a3.zip
FreeBSD-ports-0e6b52fef38785552c7aea5e8385cb4826aa42a3.tar.gz
Disable building of libXThrStub on current newer than 500043
Submitted by: dfr
Diffstat (limited to 'x11/XFree86-4-libraries/files')
-rw-r--r--x11/XFree86-4-libraries/files/patch-d29
1 files changed, 19 insertions, 10 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-d b/x11/XFree86-4-libraries/files/patch-d
index 6dd191f..fd2afa6 100644
--- a/x11/XFree86-4-libraries/files/patch-d
+++ b/x11/XFree86-4-libraries/files/patch-d
@@ -1,5 +1,5 @@
---- config/cf/FreeBSD.cf.orig Wed Oct 16 20:31:40 2002
-+++ config/cf/FreeBSD.cf Wed Oct 16 20:32:04 2002
+--- config/cf/FreeBSD.cf.orig Fri Nov 1 14:06:38 2002
++++ config/cf/FreeBSD.cf Fri Nov 1 14:15:57 2002
@@ -43,11 +43,15 @@
#define GccUsesGas YES
#define UseGas YES
@@ -37,12 +37,21 @@
* FreeBSD has tread-safe api but no getpwnam_r yet.
*/
# define HasThreadSafeAPI YES
-@@ -95,8 +95,12 @@
+@@ -93,10 +93,19 @@
+ # if HasLibPthread
+ # define ThreadsLibraries -lpthread
# else
- # define BuildThreadStubLibrary YES
- # define NeedUIThrStubs YES
+-# define BuildThreadStubLibrary YES
+-# define NeedUIThrStubs YES
-# define ThreadsCompileFlags -pthread
-# define ThreadsLibraries -pthread
++# if OSRelVersion >= 500043
++# define BuildThreadStubLibrary NO
++# define NeedUIThrStubs NO
++# else
++# define BuildThreadStubLibrary YES
++# define NeedUIThrStubs YES
++# endif
+# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE
+# if (OSRelVersion >= 500016)
+# define ThreadsLibraries -lc_r
@@ -52,7 +61,7 @@
# define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
# endif
-@@ -149,11 +153,11 @@
+@@ -149,11 +158,11 @@
* ld: warning: libXThrStub.so.6, needed by libX11.so, not found
*/
#if BuildThreadStubLibrary && !UseInstalled
@@ -68,7 +77,7 @@
#endif
#define CppCmd /usr/bin/cpp
-@@ -220,6 +224,20 @@
+@@ -224,6 +233,20 @@
#endif
#endif
@@ -89,7 +98,7 @@
/*
* This doesn't work the way it does on every other system. On FreeBSD it's
* only a "hint, not a demand", whatever that means. Note that this is not
-@@ -424,6 +442,9 @@
+@@ -428,6 +451,9 @@
#ifdef AlphaArchitecture
#define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
#endif
@@ -99,7 +108,7 @@
#define StandardDefines -DCSRG_BASED
-@@ -445,18 +466,8 @@
+@@ -449,18 +475,8 @@
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif
@@ -120,7 +129,7 @@
#ifndef PreIncDir
# define PreIncDir /usr/include
-@@ -509,6 +520,10 @@
+@@ -513,6 +529,10 @@
#ifndef PamLibraries
#define PamLibraries -lpam DlLibrary
OpenPOWER on IntegriCloud