aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2013-09-05 15:00:07 +0800
committermandree <mandree@FreeBSD.org>2013-09-05 15:00:07 +0800
commit6322d7a7acb70996e1b10532d64a46d181d07268 (patch)
treeca1e3026a2660b7533e517cf83d7e40774460228
parent47c088c7844f7e660573e05fff478a649111d7a9 (diff)
downloadfreebsd-ports-gnome-6322d7a7acb70996e1b10532d64a46d181d07268.tar.gz
freebsd-ports-gnome-6322d7a7acb70996e1b10532d64a46d181d07268.tar.zst
freebsd-ports-gnome-6322d7a7acb70996e1b10532d64a46d181d07268.zip
Attempt to fix 10-CURRENT build failure involving strchrnul.
-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