summaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/patch-FreeBSD.cf
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-12-23 01:35:49 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-12-23 01:35:49 +0000
commitc90ee83f03de6ce87bf86a6daf09a0010f59c46d (patch)
tree589d40624d0cb825807bd5fe7f399d8769657bb1 /x11-servers/xorg-server/files/patch-FreeBSD.cf
parent- Re-do mozilla 1.7.5 patch so kazehakase still works with pre-mozilla 1.7.5 (diff)
Update X.Org ports to 6.8.1, and the DRI port to use Mesa 6.2. Because Mesa 6.2
DRI drivers are incompatible with the old libGL in XFree86, they have been repocopied to graphics/xfree86-dri. Also note that with this commit the html manpages are going away, and with it the runtime dependency on perl for the imake port. Release notes at: http://www.x.org/X11R6.8.1/RELNOTES.txt Props to: kris (multiple cluster runs and sorting through logs) lesi (fixing all the issues in those logs, and more)
Notes
Notes: svn path=/head/; revision=124866
Diffstat (limited to 'x11-servers/xorg-server/files/patch-FreeBSD.cf')
-rw-r--r--x11-servers/xorg-server/files/patch-FreeBSD.cf80
1 files changed, 35 insertions, 45 deletions
diff --git a/x11-servers/xorg-server/files/patch-FreeBSD.cf b/x11-servers/xorg-server/files/patch-FreeBSD.cf
index c0139fdbeec7..391afe1b7cae 100644
--- a/x11-servers/xorg-server/files/patch-FreeBSD.cf
+++ b/x11-servers/xorg-server/files/patch-FreeBSD.cf
@@ -1,54 +1,44 @@
---- config/cf/FreeBSD.cf.orig Fri Apr 2 13:47:10 2004
-+++ config/cf/FreeBSD.cf Fri May 7 17:32:47 2004
-@@ -109,7 +109,7 @@
- # endif
- # define HasPosixThreads YES
- # define ThreadedX YES
--# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE
-+# define SystemMTDefines FreeBSDPTHREAD_CFLAGS
- /*
- * FreeBSD has tread-safe api but no getpwnam_r yet.
- */
-@@ -119,9 +119,8 @@
- # else
- # define MTSafeAPIDefines -DXUSE_MTSAFE_API
+--- config/cf/FreeBSD.cf.orig Sat Aug 14 17:03:36 2004
++++ config/cf/FreeBSD.cf Sat Sep 11 15:18:01 2004
+@@ -78,6 +78,7 @@
+ #define HasIssetugid YES
+ #define HasPoll YES
+ #endif
++#define BuildHtmlManPages NO
+
+ #if OSMajorVersion >= 4
+ #define HasGetIfAddrs YES
+@@ -117,14 +118,8 @@
+ # if (OSRelVersion < 500043)
+ # define NeedUIThrStubs YES
# endif
--# if HasLibPthread
+-# if (OSRelVersion >= 502102)
-# define ThreadsLibraries -lpthread
+-# elif (OSRelVersion >= 500016)
+-# define ThreadsLibraries -lc_r
-# else
+-# define ThreadsLibraries -pthread
+-# endif
+-# define SystemMTDefines -D_THREAD_SAFE
+# define ThreadsLibraries FreeBSDPTHREAD_LIBS
-+# if !HasLibPthread
- # if OSRelVersion >= 500043
- # define BuildThreadStubLibrary NO
- # define NeedUIThrStubs NO
-@@ -130,10 +129,7 @@
- # define NeedUIThrStubs YES
- # endif
- # if (OSRelVersion >= 500016)
--# define ThreadsLibraries -lc_r
- # define SharedGLReqs $(LDPRELIBS) $(XLIB) -lc
--# else
--# define ThreadsLibraries -pthread
- # endif
- # define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
- # define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
-@@ -192,11 +188,11 @@
- * ld: warning: libXThrStub.so.6, needed by libX11.so, not found
- */
- #if BuildThreadStubLibrary && (!defined(UseInstalledX11) || !UseInstalledX11)
--# define CcCmd $(CLIENTENVSETUP) cc
--# define CplusplusCmd $(CLIENTENVSETUP) c++
-+# define CcCmd $(CLIENTENVSETUP) FreeBSDCC
-+# define CplusplusCmd $(CLIENTENVSETUP) FreeBSDCXX
- #else
--# define CcCmd cc
--# define CplusplusCmd c++
-+# define CcCmd FreeBSDCC
-+# define CplusplusCmd FreeBSDCXX
++# define SystemMTDefines FreeBSDPTHREAD_CFLAGS
+ #endif
+
+ /* This fixes linking C programs against libGLU on FreeBSD 3.x */
+@@ -173,10 +168,10 @@
#endif
+ #ifndef CcCmd
+-#define CcCmd cc
++#define CcCmd FreeBSDCC
+ #endif
+ #ifndef CplusplusCmd
+-#define CplusplusCmd c++
++#define CplusplusCmd FreeBSDCXX
+ #endif
#define CppCmd /usr/bin/cpp
-@@ -359,7 +355,7 @@
+ #define PreProcessCmd CppCmd
+@@ -338,7 +333,7 @@
#ifndef LibraryRpathLoadFlags
# if UseRpath
# if UseElfFormat
@@ -57,7 +47,7 @@
# else
# define LibraryRpathLoadFlags -R $(USRLIBDIRPATH)
# endif
-@@ -452,18 +450,8 @@
+@@ -463,18 +458,8 @@
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif