summaryrefslogtreecommitdiffstats
path: root/devel/m6811-gcc/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-12-15 08:27:46 +0000
committerdinoex <dinoex@FreeBSD.org>2002-12-15 08:27:46 +0000
commit3eb597ee7f63476f1b30527cae9fee81e6e99c70 (patch)
tree8eaf8baac2aaa39a38dff784c17e2f708f274093 /devel/m6811-gcc/files
parenta047759723769ad0ffaf9ab80d96d03d71edf43f (diff)
downloadFreeBSD-ports-3eb597ee7f63476f1b30527cae9fee81e6e99c70.zip
FreeBSD-ports-3eb597ee7f63476f1b30527cae9fee81e6e99c70.tar.gz
- Fix build on CURRENT
- build only for i386
Diffstat (limited to 'devel/m6811-gcc/files')
-rw-r--r--devel/m6811-gcc/files/patch-libiberty-strerror.c13
-rw-r--r--devel/m6811-gcc/files/patch-libiberty-strsignal.c11
2 files changed, 24 insertions, 0 deletions
diff --git a/devel/m6811-gcc/files/patch-libiberty-strerror.c b/devel/m6811-gcc/files/patch-libiberty-strerror.c
new file mode 100644
index 0000000..e653245
--- /dev/null
+++ b/devel/m6811-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
+
diff --git a/devel/m6811-gcc/files/patch-libiberty-strsignal.c b/devel/m6811-gcc/files/patch-libiberty-strsignal.c
new file mode 100644
index 0000000..fa635ba
--- /dev/null
+++ b/devel/m6811-gcc/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;
OpenPOWER on IntegriCloud