diff --git a/0007-squashfs-tools-Add-sw64-architecture.patch b/0007-squashfs-tools-Add-sw64-architecture.patch deleted file mode 100644 index 6da4eed05d5bf4541ad613e475c5f92276e14f09..0000000000000000000000000000000000000000 --- a/0007-squashfs-tools-Add-sw64-architecture.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8f2966a5586aa1b00f18cc0ce3a16363260838ae Mon Sep 17 00:00:00 2001 -From: wzx -Date: Thu, 27 Oct 2022 09:29:15 +0800 -Subject: [PATCH] Add sw64 architecture - -Signed-off-by: wzx ---- - squashfs-tools/xz_wrapper.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/squashfs-tools/xz_wrapper.c b/squashfs-tools/xz_wrapper.c -index 8a1e097..b95bb5f 100644 ---- a/squashfs-tools/xz_wrapper.c -+++ b/squashfs-tools/xz_wrapper.c -@@ -33,6 +33,7 @@ - - static struct bcj bcj[] = { - { "x86", LZMA_FILTER_X86, 0 }, -+ { "sw_64", LZMA_FILTER_SW_64, 0 }, - { "powerpc", LZMA_FILTER_POWERPC, 0 }, - { "ia64", LZMA_FILTER_IA64, 0 }, - { "arm", LZMA_FILTER_ARM, 0 }, --- -2.33.0 - diff --git a/squashfs-tools.spec b/squashfs-tools.spec index 8ff2c2db25395f1eced081006bfa6c98587d077d..fcbb33cf5884b74a8104a4446ab407771667c1cf 100644 --- a/squashfs-tools.spec +++ b/squashfs-tools.spec @@ -1,6 +1,6 @@ Name: squashfs-tools Version: 4.5 -Release: 3 +Release: 4 Summary: Utility for the squashfs filesystems License: GPLv2+ URL: http://squashfs.sourceforge.net/ @@ -13,7 +13,6 @@ Patch3: 0003-CVE-2021-41072.patch Patch4: 0004-CVE-2021-41072.patch Patch5: 0005-CVE-2021-41072.patch Patch6: 0006-pseudo-fix-possible-dereference-of-NULL-pointer.patch -Patch7: 0007-squashfs-tools-Add-sw64-architecture.patch BuildRequires: zlib-devel xz-devel libzstd-devel BuildRequires: lzo-devel libattr-devel lz4-devel gcc @@ -44,6 +43,9 @@ install -D -m 755 squashfs-tools/unsquashfs %{buildroot}%{_sbindir}/unsquashfs %changelog +* Wed Nov 16 2022 wubo - 4.5-4 +- The sw_64 is not define, Revert sw64 architecture. + * Thu Oct 27 2022 wuzx - 4.5-3 - Add sw64 architecture