aboutsummaryrefslogtreecommitdiffstats
path: root/devel/freelibiberty
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 16:31:50 +0800
committerkris <kris@FreeBSD.org>2002-09-05 16:31:50 +0800
commite7eb44b42688ed574f30f718f3bad0bd4b49cc46 (patch)
treed62f39e7c853b94da50464c5e026ac728c1d00eb /devel/freelibiberty
parentecfc6bb80efb1b9eac3881a2945ea36450422489 (diff)
downloadfreebsd-ports-gnome-e7eb44b42688ed574f30f718f3bad0bd4b49cc46.tar.gz
freebsd-ports-gnome-e7eb44b42688ed574f30f718f3bad0bd4b49cc46.tar.zst
freebsd-ports-gnome-e7eb44b42688ed574f30f718f3bad0bd4b49cc46.zip
Fix build on -current and quiet a warning by appropriate #include
Diffstat (limited to 'devel/freelibiberty')
-rw-r--r--devel/freelibiberty/files/patch-ab17
-rw-r--r--devel/freelibiberty/files/patch-ac10
2 files changed, 27 insertions, 0 deletions
diff --git a/devel/freelibiberty/files/patch-ab b/devel/freelibiberty/files/patch-ab
new file mode 100644
index 000000000000..7d70a43f590c
--- /dev/null
+++ b/devel/freelibiberty/files/patch-ab
@@ -0,0 +1,17 @@
+--- strsignal.c.orig Thu Sep 5 00:36:12 2002
++++ strsignal.c Thu Sep 5 00:38:57 2002
+@@ -208,14 +208,6 @@
+ same name, it differs from other implementations in that it is dynamically
+ initialized rather than statically initialized. */
+
+-#ifdef NSIG
+-static int sys_nsig = NSIG;
+-#else
+-#ifdef _NSIG
+-static int sys_nsig = _NSIG;
+-#endif
+-#endif
+-extern const char * const sys_siglist[];
+
+
+ /*
diff --git a/devel/freelibiberty/files/patch-ac b/devel/freelibiberty/files/patch-ac
new file mode 100644
index 000000000000..375a2b9e7761
--- /dev/null
+++ b/devel/freelibiberty/files/patch-ac
@@ -0,0 +1,10 @@
+--- xstrdup.c.orig Thu Sep 5 00:40:27 2002
++++ xstrdup.c Thu Sep 5 00:40:35 2002
+@@ -2,6 +2,7 @@
+ This trivial function is in the public domain.
+ Ian Lance Taylor, Cygnus Support, December 1995. */
+
++#include <string.h>
+ #include "libiberty.h"
+
+ char *