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;