summaryrefslogtreecommitdiff
path: root/lang/gcc3/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc3/patches/patch-al')
-rw-r--r--lang/gcc3/patches/patch-al13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc3/patches/patch-al b/lang/gcc3/patches/patch-al
new file mode 100644
index 00000000000..f4e90c12bd3
--- /dev/null
+++ b/lang/gcc3/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2004/04/10 15:47:08 seb Exp $
+
+--- gcc/ada/cstreams.c.orig 2003-12-01 15:24:51.000000000 -0700
++++ gcc/ada/cstreams.c
+@@ -180,7 +180,7 @@ __gnat_full_name (nam, buffer)
+ #elif defined (MSDOS)
+ _fixpath (nam, buffer);
+
+-#elif defined (sgi)
++#elif defined (sgi) || defined (__NetBSD__)
+
+ /* Use realpath function which resolves links and references to .. and ..
+ on those Unix systems that support it. Note that GNU/Linux provides it but