1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Oops, forgot to add these patch files.

This commit is contained in:
Daniel Eischen 2005-11-29 00:47:55 +00:00
parent df6aab9e51
commit 80ac2a3dc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149851
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- gcc/config/freebsd-spec.h.orig Sun May 1 21:04:41 2005
+++ gcc/config/freebsd-spec.h Wed Nov 23 23:45:24 2005
@@ -51,7 +51,9 @@
#define FBSD_TARGET_OS_CPP_BUILTINS() \
do \
{ \
- if (FBSD_MAJOR == 6) \
+ if (FBSD_MAJOR == 7) \
+ builtin_define ("__FreeBSD__=7"); \
+ else if (FBSD_MAJOR == 6) \
builtin_define ("__FreeBSD__=6"); \
else if (FBSD_MAJOR == 5) \
builtin_define ("__FreeBSD__=5"); \

View File

@ -0,0 +1,11 @@
--- gcc/config.gcc.orig Mon Apr 25 21:05:19 2005
+++ gcc/config.gcc Wed Nov 23 23:42:51 2005
@@ -406,6 +406,8 @@
tm_defines="${tm_defines} FBSD_MAJOR=5" ;;
*-*-freebsd6 | *-*-freebsd[6].*)
tm_defines="${tm_defines} FBSD_MAJOR=6" ;;
+ *-*-freebsd7 | *-*-freebsd[7].*)
+ tm_defines="${tm_defines} FBSD_MAJOR=7" ;;
*)
echo 'Please update *-*-freebsd* in gcc/config.gcc'
exit 1