summaryrefslogtreecommitdiff
path: root/target/linux/mediatek/patches/1008-squashfs-xz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/patches/1008-squashfs-xz.patch')
-rw-r--r--target/linux/mediatek/patches/1008-squashfs-xz.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches/1008-squashfs-xz.patch b/target/linux/mediatek/patches/1008-squashfs-xz.patch
new file mode 100644
index 0000000..d534063
--- /dev/null
+++ b/target/linux/mediatek/patches/1008-squashfs-xz.patch
@@ -0,0 +1,16 @@
+Index: linux-3.10.20/fs/squashfs/xz_wrapper.c
+===================================================================
+--- linux-3.10.20.orig/fs/squashfs/xz_wrapper.c
++++ linux-3.10.20/fs/squashfs/xz_wrapper.c
+@@ -39,8 +39,10 @@ struct squashfs_xz {
+ };
+
+ struct comp_opts {
+- __le32 dictionary_size;
+ __le32 flags;
++ __le16 bit_opts;
++ __le16 fp;
++ __le32 dictionary_size;
+ };
+
+ static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff,