From 382138104b46883071f867670445cd47bba2a897 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 May 2018 17:52:54 +0200 Subject: linux: allow to compile old kernel with clang --- target/linux/patches/2.6.32.70/clang.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/2.6.32.70/clang.patch (limited to 'target/linux/patches') diff --git a/target/linux/patches/2.6.32.70/clang.patch b/target/linux/patches/2.6.32.70/clang.patch new file mode 100644 index 000000000..cd3fd7079 --- /dev/null +++ b/target/linux/patches/2.6.32.70/clang.patch @@ -0,0 +1,12 @@ +diff -Nur linux-2.6.32.70.orig/scripts/unifdef.c linux-2.6.32.70/scripts/unifdef.c +--- linux-2.6.32.70.orig/scripts/unifdef.c 2016-01-29 22:13:00.000000000 +0100 ++++ linux-2.6.32.70/scripts/unifdef.c 2018-05-27 15:16:42.000000000 +0200 +@@ -72,7 +72,7 @@ + #include + #include + +-size_t strlcpy(char *dst, const char *src, size_t siz); ++//size_t strlcpy(char *dst, const char *src, size_t siz); + + /* types of input lines: */ + typedef enum { -- cgit v1.2.3