summaryrefslogtreecommitdiffstats
path: root/lang/m3gdb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/m3gdb')
-rw-r--r--lang/m3gdb/files/patch-ag28
-rw-r--r--lang/m3gdb/files/patch-ah14
2 files changed, 42 insertions, 0 deletions
diff --git a/lang/m3gdb/files/patch-ag b/lang/m3gdb/files/patch-ag
new file mode 100644
index 0000000..c7defcd
--- /dev/null
+++ b/lang/m3gdb/files/patch-ag
@@ -0,0 +1,28 @@
+--- src/contrib/binutils/libiberty/strsignal.c.orig Sun Oct 20 17:28:15 2002
++++ src/contrib/binutils/libiberty/strsignal.c Sun Oct 20 17:29:24 2002
+@@ -16,7 +16,9 @@
+ we could work out the right declaration. Until, then we just
+ ignore any declaration in the system header files, and always
+ declare it ourselves. With luck, this will always work. */
++#ifndef __FreeBSD__
+ #define sys_siglist no_such_symbol
++#endif
+
+ #include <stdio.h>
+ #include <signal.h>
+@@ -243,6 +245,7 @@
+
+ #else
+
++#ifndef __FreeBSD__
+ #ifdef NSIG
+ static int sys_nsig = NSIG;
+ #else
+@@ -251,6 +254,7 @@
+ #endif
+ #endif
+ extern const char * const sys_siglist[];
++#endif
+
+ #endif
+
diff --git a/lang/m3gdb/files/patch-ah b/lang/m3gdb/files/patch-ah
new file mode 100644
index 0000000..ff9fa12
--- /dev/null
+++ b/lang/m3gdb/files/patch-ah
@@ -0,0 +1,14 @@
+--- src/contrib/binutils/libiberty/strerror.c.orig Sun Oct 20 17:27:09 2002
++++ src/contrib/binutils/libiberty/strerror.c Sun Oct 20 17:27:31 2002
+@@ -461,9 +461,10 @@
+ static const char **sys_errlist;
+
+ #else
+-
++#if !defined(__FreeBSD__)
+ extern int sys_nerr;
+ extern char *sys_errlist[];
++#endif
+
+ #endif
+
OpenPOWER on IntegriCloud