summaryrefslogtreecommitdiff
path: root/package/toybox/patches/patch-lib_lib_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:00:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:01:32 +0200
commitd8a3cfe3d7691fd44ee341b4753c602c10b7db7b (patch)
tree11e42a70ceca0932cf08726b8c214b76a7b02cd4 /package/toybox/patches/patch-lib_lib_h
parent0fc7f3ed051d53814504d4a89d8ad6ccd0009f7a (diff)
toybox: new package
Diffstat (limited to 'package/toybox/patches/patch-lib_lib_h')
-rw-r--r--package/toybox/patches/patch-lib_lib_h12
1 files changed, 12 insertions, 0 deletions
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);