diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2007-10-21 23:20:34 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2007-10-21 23:20:34 +0000 |
commit | 7a1c1f2d294485833a902f681d5b020b87e5689a (patch) | |
tree | 7d97ba159fd2d6bbe3357caca9a435c9c6a1d657 /lang/gcc34 | |
parent | c627adf009fd591abf2ac0929ede1a04b3c579f2 (diff) |
Fix the build on FreeBSD 8.
PR: 117287
Submitted by: Scot Hetzel <swhetzel@gmail.com>,
Stephane E. Potvin <sepotvin@videotron.ca>
Notes
Notes:
svn path=/head/; revision=201743
Diffstat (limited to 'lang/gcc34')
-rw-r--r-- | lang/gcc34/files/patch-config-freebsd-spec.h | 11 |
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"); \ |