aboutsummaryrefslogtreecommitdiff
path: root/devel/m6811-binutils
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-12 05:17:20 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-12 05:17:20 +0000
commitabfb25544a3d519ac3472c50fc98b447d9c20c19 (patch)
tree7f554311a9667c67715030d87a93cc997ceef14d /devel/m6811-binutils
parentaad9609aa9d6fff1fc47cda02e2069f0710b24ce (diff)
downloadports-abfb25544a3d519ac3472c50fc98b447d9c20c19.tar.gz
ports-abfb25544a3d519ac3472c50fc98b447d9c20c19.zip
Notes
Diffstat (limited to 'devel/m6811-binutils')
-rw-r--r--devel/m6811-binutils/files/patch-libiberty-strerror.c13
-rw-r--r--devel/m6811-binutils/files/patch-libiberty-strsignal.c11
2 files changed, 24 insertions, 0 deletions
diff --git a/devel/m6811-binutils/files/patch-libiberty-strerror.c b/devel/m6811-binutils/files/patch-libiberty-strerror.c
new file mode 100644
index 000000000000..e6532458c516
--- /dev/null
+++ b/devel/m6811-binutils/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
+
diff --git a/devel/m6811-binutils/files/patch-libiberty-strsignal.c b/devel/m6811-binutils/files/patch-libiberty-strsignal.c
new file mode 100644
index 000000000000..fa635baf14b1
--- /dev/null
+++ b/devel/m6811-binutils/files/patch-libiberty-strsignal.c
@@ -0,0 +1,11 @@
+--- libiberty/strsignal.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strsignal.c Wed Dec 11 21:04:43 2002
+@@ -247,7 +247,7 @@
+ #else
+
+ #ifdef NSIG
+-static int sys_nsig = NSIG;
++static const int sys_nsig = NSIG;
+ #else
+ #ifdef _NSIG
+ static int sys_nsig = _NSIG;