diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-11-12 04:27:31 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-11-12 04:27:31 +0000 |
commit | 98be7ccb066083a2f0e0964417308e8b83b08efc (patch) | |
tree | 6c1d7edaeb9cb24e731d87e550bc117e4b736c9c /graphics/dri-devel/files/patch-FreeBSD.cf | |
parent | add .so support (diff) |
Resurrect dri-devel with a snapshot of today's DRI CVS. It contains only the
OpenGL drivers, like the graphics/dri port, rather than also providing the
XFree86 server, 2d drivers, and related modules.
Diffstat (limited to 'graphics/dri-devel/files/patch-FreeBSD.cf')
-rw-r--r-- | graphics/dri-devel/files/patch-FreeBSD.cf | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/graphics/dri-devel/files/patch-FreeBSD.cf b/graphics/dri-devel/files/patch-FreeBSD.cf index 878c5616e16a..2e31659ced06 100644 --- a/graphics/dri-devel/files/patch-FreeBSD.cf +++ b/graphics/dri-devel/files/patch-FreeBSD.cf @@ -1,37 +1,14 @@ ---- 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 @@ +--- config/cf/FreeBSD.cf.orig Thu Oct 9 02:55:57 2003 ++++ config/cf/FreeBSD.cf Tue Nov 11 17:41:44 2003 +@@ -166,6 +166,7 @@ * * ld: warning: libXThrStub.so.6, needed by libX11.so, not found */ +/* - #if BuildThreadStubLibrary && !UseInstalled + #if BuildThreadStubLibrary && (!defined(UseInstalledX11) || !UseInstalledX11) # define CcCmd $(CLIENTENVSETUP) cc # define CplusplusCmd $(CLIENTENVSETUP) c++ -@@ -151,6 +160,9 @@ +@@ -173,6 +174,9 @@ # define CcCmd cc # define CplusplusCmd c++ #endif |