freebsd-ports/lang/g95/files/patch-gcc__config__freebsd-spec.h
Pav Lucistnik a1218ec516 - Fix build on FreeBSD 8.x
Submitted by:	Wesley Shields <wxs@atarininja.org>
2007-12-26 16:45:31 +00:00

11 lines
513 B
C

--- ../gcc-4.0.3/gcc/config/freebsd-spec.h.orig 2007-12-26 10:31:59.000000000 -0500
+++ ../gcc-4.0.3/gcc/config/freebsd-spec.h 2007-12-26 10:32:21.000000000 -0500
@@ -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"); \