summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormartin <martin>2005-04-18 07:53:52 +0000
committermartin <martin>2005-04-18 07:53:52 +0000
commit4d43e20402297bc3820c276b3c446e52ccab7520 (patch)
treeb16f1eb1f4edd00b7f9ea2ec222513f1407178f2 /cross
parentfb2077686450e2e0ce7ca6cfff6cc1b427db5529 (diff)
downloadpkgsrc-4d43e20402297bc3820c276b3c446e52ccab7520.tar.gz
Make it compile on newer (heh!) NetBSD versions.
Diffstat (limited to 'cross')
-rw-r--r--cross/mipsEEel-netbsd/patches/binutils-af15
-rw-r--r--cross/mipsEEel-netbsd/patches/binutils-ag14
-rw-r--r--cross/mipsEEel-netbsd/patches/gcc-ae15
-rw-r--r--cross/mipsEEel-netbsd/patches/gcc-af14
4 files changed, 58 insertions, 0 deletions
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;