summaryrefslogtreecommitdiff
path: root/lang/gnat/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnat/files/patch-ah')
-rw-r--r--lang/gnat/files/patch-ah19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gnat/files/patch-ah b/lang/gnat/files/patch-ah
new file mode 100644
index 000000000000..10b3eae32453
--- /dev/null
+++ b/lang/gnat/files/patch-ah
@@ -0,0 +1,19 @@
+*** ./ada/a-cstrea.c.orig Fri Sep 24 08:42:07 1999
+--- ./ada/a-cstrea.c Sat Nov 6 16:06:52 1999
+***************
+*** 198,204 ****
+ _fixpath (nam, buffer);
+
+ #else
+! #if defined (sgi) || defined (sun) || defined (linux)
+
+ /* Use realpath function which resolves links and references to .. and ..
+ on those Unix systems that support it. */
+--- 198,204 ----
+ _fixpath (nam, buffer);
+
+ #else
+! #if defined (sgi) || defined (sun) || defined (linux) || defined (__FreeBSD__)
+
+ /* Use realpath function which resolves links and references to .. and ..
+ on those Unix systems that support it. */