summaryrefslogtreecommitdiff
path: root/devel/ddd/files/patch-libiberty::strsignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ddd/files/patch-libiberty::strsignal.c')
-rw-r--r--devel/ddd/files/patch-libiberty::strsignal.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/ddd/files/patch-libiberty::strsignal.c b/devel/ddd/files/patch-libiberty::strsignal.c
new file mode 100644
index 000000000000..12af26746dde
--- /dev/null
+++ b/devel/ddd/files/patch-libiberty::strsignal.c
@@ -0,0 +1,18 @@
+--- libiberty/strsignal.c.orig Wed Oct 22 14:46:55 2003
++++ libiberty/strsignal.c Fri Feb 27 13:33:02 2004
+@@ -241,6 +241,7 @@
+ same name, it differs from other implementations in that it is dynamically
+ initialized rather than statically initialized. */
+
++#ifndef __FreeBSD__
+ #ifndef HAVE_SYS_SIGLIST
+
+ static int sys_nsig;
+@@ -257,6 +258,7 @@
+ #endif
+ extern const char * const sys_siglist[];
+
++#endif
+ #endif
+
+