diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-09 15:40:54 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-03-09 15:40:54 (GMT) |
commit | 7603e24b4f0a015d5166613cb8492c156aa9ae9d (patch) | |
tree | 01f74ae2c13d20c81c103e67904245cd13097485 /patches/linux/2.6.32.27 | |
parent | bfcc1e112a796a262324270485e5b618f18e2b25 (diff) |
Fix unifdef in Linux 2.6.32 on macos
... which fails to compile due to incompatible prototype for strlcpy()
which isn't even used.
2.6.33 dropped the prototype, so the patch is n/a for newer kernels.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/linux/2.6.32.27')
-rw-r--r-- | patches/linux/2.6.32.27/100-unifdef-strclpy.patch | 11 |
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 */ |