aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfskit4/patches/0020-big-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/squashfskit4/patches/0020-big-endian.patch')
-rw-r--r--tools/squashfskit4/patches/0020-big-endian.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/squashfskit4/patches/0020-big-endian.patch b/tools/squashfskit4/patches/0020-big-endian.patch
deleted file mode 100644
index b388cb4d12..0000000000
--- a/tools/squashfskit4/patches/0020-big-endian.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/squashfs-tools/xz_wrapper.c
-+++ b/squashfs-tools/xz_wrapper.c
-@@ -192,7 +192,10 @@ static void xz_display_options(void *buf
- if(size != sizeof(struct comp_opts))
- goto failed;
-
-- SQUASHFS_INSWAP_LZMA_COMP_OPTS(comp_opts);
-+#if __BYTE_ORDER == __BIG_ENDIAN
-+ comp_opts->dictionary_size = inswap_le32(comp_opts->dictionary_size);
-+ comp_opts->flags = inswap_le32(comp_opts->flags);
-+#endif
-
- dictionary_size = comp_opts->dictionary_size;
- flags = comp_opts->flags;