aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mkmf
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2002-06-05 06:02:05 +0800
committerse <se@FreeBSD.org>2002-06-05 06:02:05 +0800
commitf29d9f2bc59a735ecce8bc96ce9a9198b94c93c7 (patch)
tree0f2c0908feccae0af4e39380393bd06ecd18be9c /devel/mkmf
parent7f15aa289a508edba1a5add2776837d09af71d55 (diff)
downloadfreebsd-ports-gnome-f29d9f2bc59a735ecce8bc96ce9a9198b94c93c7.tar.gz
freebsd-ports-gnome-f29d9f2bc59a735ecce8bc96ce9a9198b94c93c7.tar.zst
freebsd-ports-gnome-f29d9f2bc59a735ecce8bc96ce9a9198b94c93c7.zip
Fix building on -current: Use string.h even if strings.h exists.
Diffstat (limited to 'devel/mkmf')
-rw-r--r--devel/mkmf/files/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/mkmf/files/patch-ac b/devel/mkmf/files/patch-ac
new file mode 100644
index 000000000000..2ac7192d5876
--- /dev/null
+++ b/devel/mkmf/files/patch-ac
@@ -0,0 +1,13 @@
+--- src/stringx.h~ Tue Jun 4 12:58:03 2002
++++ src/stringx.h Tue Jun 4 12:58:33 2002
+@@ -47,9 +47,8 @@
+
+ #ifdef _HasIncludeStrings
+ # include <strings.h>
+-#else
+-# include <string.h>
+ #endif
++# include <string.h>
+
+ #ifndef _HasStrDcl
+ int strcmp();