summaryrefslogtreecommitdiff
path: root/lang/gnat/files/patch-ab
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2009-07-19 03:38:31 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2009-07-19 03:38:31 +0000
commite76a216b9f27196388d98ac25e07cf8ada58e56a (patch)
treeab7e77547a2fe37006f89552876e21bd2da66d3f /lang/gnat/files/patch-ab
parent- Update to 7 (diff)
Update to the 2009 gpl edition.
Borrow some makefile foo from lang/gnat-gcc43.
Diffstat (limited to 'lang/gnat/files/patch-ab')
-rw-r--r--lang/gnat/files/patch-ab20
1 files changed, 5 insertions, 15 deletions
diff --git a/lang/gnat/files/patch-ab b/lang/gnat/files/patch-ab
index ebc55349289b..10c67e074c37 100644
--- a/lang/gnat/files/patch-ab
+++ b/lang/gnat/files/patch-ab
@@ -1,20 +1,10 @@
---- gcc/ada/env.c.orig 2006-05-22 02:05:53.000000000 -0400
-+++ gcc/ada/env.c 2008-04-07 19:56:12.000000000 -0400
-@@ -166,7 +166,7 @@
- LIB$SIGNAL (status);
+--- gcc/ada/env.c.orig 2009-05-19 07:22:35.000000000 -0400
++++ gcc/ada/env.c 2009-06-18 08:35:36.000000000 -0400
+@@ -168,6 +168,7 @@
}
--#elif defined (__vxworks) && defined (__RTP__)
-+#elif defined (__FreeBSD__) || (defined (__vxworks) && defined (__RTP__))
+ #elif (defined (__vxworks) && defined (__RTP__)) || defined (__APPLE__)
++ || defined(__FreeBSD__)
setenv (name, value, 1);
#else
-@@ -177,7 +177,7 @@
-
- sprintf (expression, "%s=%s", name, value);
- putenv (expression);
--#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__MINGW32__) \
-+#if defined (__APPLE__) || defined (__MINGW32__) \
- ||(defined (__vxworks) && ! defined (__RTP__))
- /* On some systems like FreeBSD, MacOS X and Windows, putenv is making
- a copy of the expression string so we can free it after the call to