pkgsrc-wip/gcc-3.4-ada/patches/patch-af
2004-06-06 10:17:25 +00:00

13 lines
538 B
Text

$NetBSD: patch-af,v 1.3 2004/06/06 10:17:26 johnrshannon Exp $
--- gcc/ada/cstreams.c.orig 2003-11-18 03:00:42.000000000 -0700
+++ gcc/ada/cstreams.c
@@ -175,7 +175,7 @@ __gnat_full_name (char *nam, char *buffe
#elif defined (MSDOS)
_fixpath (nam, buffer);
-#elif defined (sgi) || defined (__FreeBSD__)
+#elif defined (sgi) || defined (__FreeBSD__) || 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