diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/dri-devel/files/patch-FreeBSD.cf | 36 |
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 |