1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/lang/gcc34/files/patch-config-freebsd-spec.h
Gerald Pfeifer 7a1c1f2d29 Fix the build on FreeBSD 8.
PR:		117287
Submitted by:	Scot Hetzel <swhetzel@gmail.com>,
		Stephane E. Potvin <sepotvin@videotron.ca>
2007-10-21 23:20:34 +00:00

12 lines
488 B
C

--- 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"); \