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:
parent
df6aab9e51
commit
80ac2a3dc6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149851
13
lang/gnat/files/patch-gcc-config-freebsd-spec.h
Normal file
13
lang/gnat/files/patch-gcc-config-freebsd-spec.h
Normal 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"); \
|
11
lang/gnat/files/patch-gcc-config.gcc
Normal file
11
lang/gnat/files/patch-gcc-config.gcc
Normal 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
|
Loading…
Reference in New Issue
Block a user