summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4/files/patch-d
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4/files/patch-d')
-rw-r--r--x11/XFree86-4/files/patch-d25
1 files changed, 22 insertions, 3 deletions
diff --git a/x11/XFree86-4/files/patch-d b/x11/XFree86-4/files/patch-d
index 2e84579..a6f6776 100644
--- a/x11/XFree86-4/files/patch-d
+++ b/x11/XFree86-4/files/patch-d
@@ -1,6 +1,25 @@
---- config/cf/FreeBSD.cf.orig Thu Feb 17 18:09:43 2000
-+++ config/cf/FreeBSD.cf Sat Mar 18 19:42:06 2000
-@@ -336,14 +336,14 @@
+--- config/cf/FreeBSD.cf.orig Sat Jun 24 21:15:53 2000
++++ config/cf/FreeBSD.cf Tue Aug 1 15:19:44 2000
+@@ -135,6 +135,18 @@
+ #endif
+ #endif
+
++#ifndef HasAgpGart
++# ifdef i386Architecture
++# if OSMajorVersion >= 5 || (OSMajorVersion == 4 && OSMinorVersion >= 1)
++# define HasAgpGart YES
++# else
++# define HasAgpGart NO
++# endif
++# else
++# define HasAgpGart NO
++# endif
++#endif
++
+ /*
+ * 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
+@@ -356,14 +368,14 @@
/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
#ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
OpenPOWER on IntegriCloud