From d8a3cfe3d7691fd44ee341b4753c602c10b7db7b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Oct 2016 21:00:47 +0200 Subject: toybox: new package --- package/toybox/patches/patch-lib_lib_h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/toybox/patches/patch-lib_lib_h (limited to 'package/toybox/patches/patch-lib_lib_h') diff --git a/package/toybox/patches/patch-lib_lib_h b/package/toybox/patches/patch-lib_lib_h new file mode 100644 index 000000000..0697acb22 --- /dev/null +++ b/package/toybox/patches/patch-lib_lib_h @@ -0,0 +1,12 @@ +--- toybox-0.7.1.orig/lib/lib.h 2016-06-01 00:33:23.000000000 +0200 ++++ toybox-0.7.1/lib/lib.h 2016-10-16 12:33:42.000000000 +0200 +@@ -201,7 +201,9 @@ int qstrcmp(const void *a, const void *b + void create_uuid(char *uuid); + char *show_uuid(char *uuid); + char *next_printf(char *s, char **start); ++#ifndef __APPLE__ + char *strnstr(char *line, char *str); ++#endif + int dev_minor(int dev); + int dev_major(int dev); + int dev_makedev(int major, int minor); -- cgit v1.2.3