summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-09 15:43:26 (GMT)
committerGitHub <noreply@github.com>2017-03-09 15:43:26 (GMT)
commit102d25caebf5893493871985cb8433884c23d2cb (patch)
tree01f74ae2c13d20c81c103e67904245cd13097485 /patches
parentbfcc1e112a796a262324270485e5b618f18e2b25 (diff)
parent7603e24b4f0a015d5166613cb8492c156aa9ae9d (diff)
Merge pull request #638 from stilor/macos-linux-2.6.32
Fix unifdef in Linux 2.6.32 on macos
Diffstat (limited to 'patches')
-rw-r--r--patches/linux/2.6.32.27/100-unifdef-strclpy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/linux/2.6.32.27/100-unifdef-strclpy.patch b/patches/linux/2.6.32.27/100-unifdef-strclpy.patch
new file mode 100644
index 0000000..072fac6
--- /dev/null
+++ b/patches/linux/2.6.32.27/100-unifdef-strclpy.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.32.27/scripts/unifdef.c.orig 2017-03-08 21:42:27.000000000 -0800
++++ linux-2.6.32.27/scripts/unifdef.c 2017-03-08 21:42:44.000000000 -0800
+@@ -72,8 +72,6 @@
+ #include <string.h>
+ #include <unistd.h>
+
+-size_t strlcpy(char *dst, const char *src, size_t siz);
+-
+ /* types of input lines: */
+ typedef enum {
+ LT_TRUEI, /* a true #if with ignore flag */