From 4d43e20402297bc3820c276b3c446e52ccab7520 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 18 Apr 2005 07:53:52 +0000 Subject: Make it compile on newer (heh!) NetBSD versions. --- cross/mipsEEel-netbsd/patches/binutils-af | 15 +++++++++++++++ cross/mipsEEel-netbsd/patches/binutils-ag | 14 ++++++++++++++ cross/mipsEEel-netbsd/patches/gcc-ae | 15 +++++++++++++++ cross/mipsEEel-netbsd/patches/gcc-af | 14 ++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 cross/mipsEEel-netbsd/patches/binutils-af create mode 100644 cross/mipsEEel-netbsd/patches/binutils-ag create mode 100644 cross/mipsEEel-netbsd/patches/gcc-ae create mode 100644 cross/mipsEEel-netbsd/patches/gcc-af (limited to 'cross') diff --git a/cross/mipsEEel-netbsd/patches/binutils-af b/cross/mipsEEel-netbsd/patches/binutils-af new file mode 100644 index 00000000000..0fc0fa7a525 --- /dev/null +++ b/cross/mipsEEel-netbsd/patches/binutils-af @@ -0,0 +1,15 @@ +# $NetBSD: binutils-af,v 1.1 2005/04/18 07:53:52 martin Exp $ + +--- libiberty/strerror.c.orig 2000-01-11 12:48:26.000000000 +0100 ++++ libiberty/strerror.c 2005-04-18 09:09:40.000000000 +0200 +@@ -462,8 +462,10 @@ + + #else + ++#ifndef __NetBSD__ + extern int sys_nerr; + extern char *sys_errlist[]; ++#endif + + #endif + diff --git a/cross/mipsEEel-netbsd/patches/binutils-ag b/cross/mipsEEel-netbsd/patches/binutils-ag new file mode 100644 index 00000000000..057491fad6c --- /dev/null +++ b/cross/mipsEEel-netbsd/patches/binutils-ag @@ -0,0 +1,14 @@ +# $NetBSD: binutils-ag,v 1.1 2005/04/18 07:53:52 martin Exp $ + +--- libiberty/strsignal.c.orig 2000-01-11 12:48:26.000000000 +0100 ++++ libiberty/strsignal.c 2005-04-18 09:10:43.000000000 +0200 +@@ -244,7 +244,9 @@ + #else + + #ifdef NSIG ++#ifndef __NetBSD__ + static int sys_nsig = NSIG; ++#endif + #else + #ifdef _NSIG + static int sys_nsig = _NSIG; diff --git a/cross/mipsEEel-netbsd/patches/gcc-ae b/cross/mipsEEel-netbsd/patches/gcc-ae new file mode 100644 index 00000000000..df0bc924195 --- /dev/null +++ b/cross/mipsEEel-netbsd/patches/gcc-ae @@ -0,0 +1,15 @@ +# $NetBSD: gcc-ae,v 1.1 2005/04/18 07:53:52 martin Exp $ + +--- libiberty/strerror.c.orig 1998-05-16 01:42:41.000000000 +0200 ++++ libiberty/strerror.c 2005-04-18 09:25:00.000000000 +0200 +@@ -462,8 +462,10 @@ + + #else + ++#ifndef __NetBSD__ + extern int sys_nerr; + extern char *sys_errlist[]; ++#endif + + #endif + diff --git a/cross/mipsEEel-netbsd/patches/gcc-af b/cross/mipsEEel-netbsd/patches/gcc-af new file mode 100644 index 00000000000..5051de461d3 --- /dev/null +++ b/cross/mipsEEel-netbsd/patches/gcc-af @@ -0,0 +1,14 @@ +# $NetBSD: gcc-af,v 1.1 2005/04/18 07:53:52 martin Exp $ + +--- libiberty/strsignal.c.orig 1998-05-16 01:42:42.000000000 +0200 ++++ libiberty/strsignal.c 2005-04-18 09:25:59.000000000 +0200 +@@ -244,7 +244,9 @@ + #else + + #ifdef NSIG ++#ifndef __NetBSD__ + static int sys_nsig = NSIG; ++#endif + #else + #ifdef _NSIG + static int sys_nsig = _NSIG; -- cgit v1.2.3