summaryrefslogtreecommitdiff
path: root/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c')
-rw-r--r--devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c b/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
new file mode 100644
index 000000000000..e6532458c516
--- /dev/null
+++ b/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
@@ -0,0 +1,13 @@
+--- libiberty/strerror.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strerror.c Wed Dec 11 21:03:00 2002
+@@ -465,8 +465,8 @@
+
+ #else
+
+-extern int sys_nerr;
+-extern char *sys_errlist[];
++extern const int sys_nerr;
++extern const char *sys_errlist[];
+
+ #endif
+