summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-24 15:57:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-24 15:57:31 +0000
commitdf6f9072ab4fb45af25ceee03f72585a363dfe92 (patch)
tree3ee6d213f1412ee6656eac23308cc4ebfaf3aa09 /target/linux/generic
parentb5c27880ee6540b578cd3e794b244b0cb887f1d0 (diff)
downloadmtk-20170518-df6f9072ab4fb45af25ceee03f72585a363dfe92.zip
mtk-20170518-df6f9072ab4fb45af25ceee03f72585a363dfe92.tar.gz
mtk-20170518-df6f9072ab4fb45af25ceee03f72585a363dfe92.tar.bz2
ARM: fix XZ decompressor stub build failure on strstr()
SVN-Revision: 33915
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.6/061-arm_xz_decompressor_build_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.6/061-arm_xz_decompressor_build_fix.patch b/target/linux/generic/patches-3.6/061-arm_xz_decompressor_build_fix.patch
new file mode 100644
index 0000000..91c1850
--- /dev/null
+++ b/target/linux/generic/patches-3.6/061-arm_xz_decompressor_build_fix.patch
@@ -0,0 +1,10 @@
+--- a/arch/arm/boot/compressed/decompress.c
++++ b/arch/arm/boot/compressed/decompress.c
+@@ -47,6 +47,7 @@ extern void error(char *);
+ #ifdef CONFIG_KERNEL_XZ
+ #define memmove memmove
+ #define memcpy memcpy
++extern char * strstr(const char *, const char *);
+ #include "../../../../lib/decompress_unxz.c"
+ #endif
+