aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4-libraries/files/patch-d15
-rw-r--r--x11/XFree86-4/files/patch-d15
2 files changed, 26 insertions, 4 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-d b/x11/XFree86-4-libraries/files/patch-d
index 11778ab35b8a..d890a8b7972d 100644
--- a/x11/XFree86-4-libraries/files/patch-d
+++ b/x11/XFree86-4-libraries/files/patch-d
@@ -1,5 +1,5 @@
---- config/cf/FreeBSD.cf~ Tue Feb 22 02:42:26 2000
-+++ config/cf/FreeBSD.cf Tue Feb 22 03:15:08 2000
+--- 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 @@
/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
#ifndef DefaultGcc2i386Opt
@@ -17,3 +17,14 @@
#endif
#ifndef PreIncDir
+@@ -463,8 +463,9 @@
+ /*
+ * A hack to work around an optimisation problem with the compiler on
+ * FreeBSD 4.0-current in late 1999/early 2000.
++ * (and FreeBSD 5.0-current in early 2000)
+ */
+-#if OSMajorVersion == 4 && OSMinorVersion == 0 && OSTeenyVersion == 0
++#if (OSMajorVersion == 4 || OSMajorVersion == 5) && OSMinorVersion == 0 && OSTeenyVersion == 0
+ #define FreeBSDGccOptBug
+ #endif
+
diff --git a/x11/XFree86-4/files/patch-d b/x11/XFree86-4/files/patch-d
index 11778ab35b8a..d890a8b7972d 100644
--- a/x11/XFree86-4/files/patch-d
+++ b/x11/XFree86-4/files/patch-d
@@ -1,5 +1,5 @@
---- config/cf/FreeBSD.cf~ Tue Feb 22 02:42:26 2000
-+++ config/cf/FreeBSD.cf Tue Feb 22 03:15:08 2000
+--- 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 @@
/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
#ifndef DefaultGcc2i386Opt
@@ -17,3 +17,14 @@
#endif
#ifndef PreIncDir
+@@ -463,8 +463,9 @@
+ /*
+ * A hack to work around an optimisation problem with the compiler on
+ * FreeBSD 4.0-current in late 1999/early 2000.
++ * (and FreeBSD 5.0-current in early 2000)
+ */
+-#if OSMajorVersion == 4 && OSMinorVersion == 0 && OSTeenyVersion == 0
++#if (OSMajorVersion == 4 || OSMajorVersion == 5) && OSMinorVersion == 0 && OSTeenyVersion == 0
+ #define FreeBSDGccOptBug
+ #endif
+