SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
lang/bootgcc/patches/patch-gcc_ada_cstreams_c
Normal file
15
lang/bootgcc/patches/patch-gcc_ada_cstreams_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
System.File_IO.Open calls full_name() for Create. Use getcwd() approach
|
||||
instead of realpath() since the latter fails if the file doesn't exist.
|
||||
|
||||
Index: gcc/ada/cstreams.c
|
||||
--- gcc/ada/cstreams.c.orig
|
||||
+++ gcc/ada/cstreams.c
|
||||
@@ -190,7 +190,7 @@ __gnat_full_name (char *nam, char *buffer)
|
||||
*p = '\\';
|
||||
}
|
||||
|
||||
-#elif defined (__FreeBSD__) || defined (__DragonFly__) || defined (__OpenBSD__)
|
||||
+#elif defined (__FreeBSD__) || defined (__DragonFly__)
|
||||
|
||||
/* Use realpath function which resolves links and references to . and ..
|
||||
on those Unix systems that support it. Note that GNU/Linux provides it but
|
Loading…
Add table
Add a link
Reference in a new issue