diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2005-11-29 00:47:55 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2005-11-29 00:47:55 +0000 |
commit | 80ac2a3dc66b94b5d4026ee73abe33a108d1dce3 (patch) | |
tree | 22767655728613b737515b0a484840bc8e2b259a /lang/gnat | |
parent | df6aab9e51a8867704c33334fe8a0c3c84b34f34 (diff) | |
download | ports-80ac2a3dc66b94b5d4026ee73abe33a108d1dce3.tar.gz ports-80ac2a3dc66b94b5d4026ee73abe33a108d1dce3.zip |
Notes
Diffstat (limited to 'lang/gnat')
-rw-r--r-- | lang/gnat/files/patch-gcc-config-freebsd-spec.h | 13 | ||||
-rw-r--r-- | lang/gnat/files/patch-gcc-config.gcc | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lang/gnat/files/patch-gcc-config-freebsd-spec.h b/lang/gnat/files/patch-gcc-config-freebsd-spec.h new file mode 100644 index 000000000000..90d80e86194d --- /dev/null +++ b/lang/gnat/files/patch-gcc-config-freebsd-spec.h @@ -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"); \ diff --git a/lang/gnat/files/patch-gcc-config.gcc b/lang/gnat/files/patch-gcc-config.gcc new file mode 100644 index 000000000000..5bf75deeb914 --- /dev/null +++ b/lang/gnat/files/patch-gcc-config.gcc @@ -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 |