aboutsummaryrefslogtreecommitdiffstats
path: root/devel/m6811-binutils
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-12-12 13:17:20 +0800
committerdinoex <dinoex@FreeBSD.org>2002-12-12 13:17:20 +0800
commitac825948e9f9e6f6c3b1917030451e7607a232e0 (patch)
tree7860038f82ea450f8542e54cb8d5f8948074e9da /devel/m6811-binutils
parent0987a053d3a1f69ad92271d2981c15a8286fec87 (diff)
downloadfreebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.tar.gz
freebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.tar.zst
freebsd-ports-gnome-ac825948e9f9e6f6c3b1917030451e7607a232e0.zip
Fix libibery build problems on CURRENT
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;