summaryrefslogtreecommitdiff
path: root/devel/i386-rtems-gcc/files/patch-strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/i386-rtems-gcc/files/patch-strerror.c')
-rw-r--r--devel/i386-rtems-gcc/files/patch-strerror.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/i386-rtems-gcc/files/patch-strerror.c b/devel/i386-rtems-gcc/files/patch-strerror.c
new file mode 100644
index 000000000000..cfc439c9012a
--- /dev/null
+++ b/devel/i386-rtems-gcc/files/patch-strerror.c
@@ -0,0 +1,14 @@
+--- gcc-2.95.3/libiberty/strerror.c.orig Fri May 15 16:42:41 1998
++++ gcc-2.95.3/libiberty/strerror.c Mon May 6 13:53:14 2002
+@@ -461,9 +461,10 @@
+ static const char **sys_errlist;
+
+ #else
+-
++/* sigh... why don't they just leave this to stdio.h...
+ extern int sys_nerr;
+ extern char *sys_errlist[];
++*/
+
+ #endif
+