aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2002-11-24 18:25:54 +0000
committerEric Anholt <anholt@FreeBSD.org>2002-11-24 18:25:54 +0000
commit1c2df5ed6235297679357946ffacd270513eff94 (patch)
tree4dd9a0dcfdcb0a3f656035f2e53a5ac72e7b2a75 /graphics
parent43a4fd2693cacce3207cc2a94bb7446d60643098 (diff)
downloadports-1c2df5ed6235297679357946ffacd270513eff94.tar.gz
ports-1c2df5ed6235297679357946ffacd270513eff94.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dri-devel/files/patch-FreeBSD.cf36
1 files changed, 27 insertions, 9 deletions
diff --git a/graphics/dri-devel/files/patch-FreeBSD.cf b/graphics/dri-devel/files/patch-FreeBSD.cf
index 894c432706d9..878c5616e16a 100644
--- a/graphics/dri-devel/files/patch-FreeBSD.cf
+++ b/graphics/dri-devel/files/patch-FreeBSD.cf
@@ -1,11 +1,29 @@
-Index: config/cf/FreeBSD.cf
-===================================================================
-RCS file: /cvsroot/dri/xc/xc/config/cf/FreeBSD.cf,v
-retrieving revision 1.15.24.1
-diff -u -r1.15.24.1 FreeBSD.cf
---- config/cf/FreeBSD.cf 15 Jul 2002 20:20:54 -0000 1.15.24.1
-+++ config/cf/FreeBSD.cf 23 Aug 2002 22:44:33 -0000
-@@ -144,6 +144,7 @@
+--- config/cf/FreeBSD.cf.orig Mon Aug 26 19:58:16 2002
++++ config/cf/FreeBSD.cf Sun Nov 24 10:25:09 2002
+@@ -89,10 +89,18 @@
+ # if HasLibPthread
+ # define ThreadsLibraries -lpthread
+ # else
+-# define BuildThreadStubLibrary YES
+-# define NeedUIThrStubs YES
+-# define ThreadsCompileFlags -pthread
+-# define ThreadsLibraries -pthread
++# if OSRelVersion >= 500043
++# define BuildThreadStubLibrary YES
++# define NeedUIThrStubs YES
++# else
++# define BuildThreadStubLibrary YES
++# define NeedUIThrStubs YES
++# endif
++# if (OSRelVersion >= 500016)
++# define ThreadsLibraries -lc_r
++# else
++# define ThreadsLibraries -pthread
++# endif
+ # define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
+ # define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
+ # endif
+@@ -144,6 +152,7 @@
*
* ld: warning: libXThrStub.so.6, needed by libX11.so, not found
*/
@@ -13,7 +31,7 @@ diff -u -r1.15.24.1 FreeBSD.cf
#if BuildThreadStubLibrary && !UseInstalled
# define CcCmd $(CLIENTENVSETUP) cc
# define CplusplusCmd $(CLIENTENVSETUP) c++
-@@ -151,6 +152,9 @@
+@@ -151,6 +160,9 @@
# define CcCmd cc
# define CplusplusCmd c++
#endif