aboutsummaryrefslogtreecommitdiff
path: root/devel/m6811-gcc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-15 08:27:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-15 08:27:46 +0000
commitd1b55e63c1d19c88185519e6ae9836162c48f643 (patch)
tree5b6d43ec3cf029cc6e298d2c9b3ef5281cd48551 /devel/m6811-gcc
parent3eaf8044e2d5abbc230212500955ce6437188650 (diff)
- Fix build on CURRENT
- build only for i386
Notes
Notes: svn path=/head/; revision=71654
Diffstat (limited to 'devel/m6811-gcc')
-rw-r--r--devel/m6811-gcc/Makefile4
-rw-r--r--devel/m6811-gcc/files/patch-libiberty-strerror.c13
-rw-r--r--devel/m6811-gcc/files/patch-libiberty-strsignal.c11
3 files changed, 27 insertions, 1 deletions
diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile
index 4aaaf37f22b1..453debf98000 100644
--- a/devel/m6811-gcc/Makefile
+++ b/devel/m6811-gcc/Makefile
@@ -22,7 +22,9 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/m6811-elf-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}b
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
# Configuration alpha-unknown-freebsdelf not supported
-#ONLY_FOR_ARCHS= i386
+# Configuration sparc64-unknown-freebsdelf not supported
+# compilation stops with intermal compiler errors.
+ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
HAS_CONFIGURE= yes
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 000000000000..e6532458c516
--- /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 000000000000..fa635baf14b1
--- /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;