aboutsummaryrefslogtreecommitdiff
path: root/sysutils/busybox
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-09-05 07:00:07 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-09-05 07:00:07 +0000
commit26cdcfd6f01ee1af815b1bbabd569f862cf94139 (patch)
treeca1e3026a2660b7533e517cf83d7e40774460228 /sysutils/busybox
parent8a70a8318342a8e3674456373ec1086fa207aeb2 (diff)
downloadports-26cdcfd6f01ee1af815b1bbabd569f862cf94139.tar.gz
ports-26cdcfd6f01ee1af815b1bbabd569f862cf94139.zip
Attempt to fix 10-CURRENT build failure involving strchrnul.
Notes
Notes: svn path=/head/; revision=326359
Diffstat (limited to 'sysutils/busybox')
-rw-r--r--sysutils/busybox/files/patch-include__platform.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/busybox/files/patch-include__platform.h b/sysutils/busybox/files/patch-include__platform.h
index 69cdd329a3d4..152486371797 100644
--- a/sysutils/busybox/files/patch-include__platform.h
+++ b/sysutils/busybox/files/patch-include__platform.h
@@ -1,6 +1,6 @@
---- ./include/platform.h.orig 2013-01-14 05:19:43.000000000 +0100
-+++ ./include/platform.h 2013-01-21 21:26:34.000000000 +0100
-@@ -433,6 +433,15 @@
+--- ./include/platform.h.orig 2013-06-29 17:00:01.000000000 +0200
++++ ./include/platform.h 2013-09-05 08:58:27.000000000 +0200
+@@ -433,6 +433,18 @@
#if defined(__FreeBSD__)
# undef HAVE_STRCHRNUL
@@ -12,6 +12,9 @@
+ stpncpy(), strnlen(), wcsnlen(),
+ wcscasecmp(), and wcsncasecmp() in 800067 */
+# endif
++# if __FreeBSD_version >= 1000029
++# define HAVE_STRCHRNUL 1 /* added short before 1000029 */
++# endif
+# endif
#endif