summaryrefslogtreecommitdiff
path: root/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:06:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:06:15 +0000
commit2a949d17338ad161641e70e7ce648de1f7b3a58a (patch)
treea3d7122e2e2481fc68f915b0bdf9b24d68924916 /devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
parent- Fix build under CURRENT (diff)
- Fix build under CURRENT
- Fix PLIST - no objection from maintainer in 5 days
Notes
Notes: svn path=/head/; revision=74941
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
+