1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix the build on FreeBSD 8.

PR:		117287
Submitted by:	Scot Hetzel <swhetzel@gmail.com>,
		Stephane E. Potvin <sepotvin@videotron.ca>
This commit is contained in:
Gerald Pfeifer 2007-10-21 23:20:34 +00:00
parent c627adf009
commit 7a1c1f2d29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201743

View File

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