aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc34
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2007-10-22 07:20:34 +0800
committergerald <gerald@FreeBSD.org>2007-10-22 07:20:34 +0800
commit097bc6a204659746dc7897ec4a745129a15590b0 (patch)
treecf0a49626ed74c4a4a4e8ffc2f228730864122df /lang/gcc34
parent8531d14a56b3f10658ffc74200180a6b4ed55e62 (diff)
downloadfreebsd-ports-gnome-097bc6a204659746dc7897ec4a745129a15590b0.tar.gz
freebsd-ports-gnome-097bc6a204659746dc7897ec4a745129a15590b0.tar.zst
freebsd-ports-gnome-097bc6a204659746dc7897ec4a745129a15590b0.zip
Fix the build on FreeBSD 8.
PR: 117287 Submitted by: Scot Hetzel <swhetzel@gmail.com>, Stephane E. Potvin <sepotvin@videotron.ca>
Diffstat (limited to 'lang/gcc34')
-rw-r--r--lang/gcc34/files/patch-config-freebsd-spec.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/gcc34/files/patch-config-freebsd-spec.h b/lang/gcc34/files/patch-config-freebsd-spec.h
new file mode 100644
index 000000000000..6f22de153ff2
--- /dev/null
+++ b/lang/gcc34/files/patch-config-freebsd-spec.h
@@ -0,0 +1,11 @@
+--- gcc/config/freebsd-spec.h.orig 2005-07-19 17:08:48.000000000 -0400
++++ gcc/config/freebsd-spec.h 2007-10-17 15:13:55.000000000 -0400
+@@ -55,7 +55,7 @@
+ builtin_define ("__FreeBSD__=9"); \
+ else if (FBSD_MAJOR == 8) \
+ builtin_define ("__FreeBSD__=8"); \
+- if (FBSD_MAJOR == 7) \
++ else if (FBSD_MAJOR == 7) \
+ builtin_define ("__FreeBSD__=7"); \
+ else if (FBSD_MAJOR == 6) \
+ builtin_define ("__FreeBSD__=6"); \