[packages/squashfs_lzma] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 03:06:32 CEST 2025


commit 6e20e7cc3cec54944242272f9b0abdabd7626efe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 03:06:17 2025 +0200

    Fix applying patches.

 squashfs_lzma.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/squashfs_lzma.spec b/squashfs_lzma.spec
index 2663320..0f08e80 100644
--- a/squashfs_lzma.spec
+++ b/squashfs_lzma.spec
@@ -105,12 +105,12 @@ Ten pakiet zawiera moduł jądra Linuksa.
 #cp ~/sqlzma2k-3.3.patch .
 %{__patch} -p1 < sqlzma1-457.patch
 #{__patch} -p1 < sqlzma2u-3.3.patch
-%patch4 -p1
+%patch -P4 -p1
 
 # in this patch all are new files except init/do_mounts_rd.c:
 filterdiff -i '*/fs/squashfs/*' -i '*/include/linux/*' < kernel-patches/linux-2.6.27-rc4/squashfs3.4-patch | %{__patch} -p1
 #{__patch} -p1 < sqlzma2k-3.3.patch
-%patch5 -p1
+%patch -P5 -p1
 ln -s ../../sqlzma.h fs/squashfs
 ln -s ../../sqmagic.h fs/squashfs
 
@@ -120,8 +120,8 @@ mv C/Compress/Lzma/kmod/* C/Compress/Lzma
 sed -i 's at ../LzmaDecode.c at LzmaDecode.c@' C/Compress/Lzma/module.c
 ln -s ../../../sqlzma.h C/Compress/Lzma
 #patch3 -p1 # obsoleted for 3.4 at 2.6.27
-%patch6 -p1
-%patch7 -p1
+%patch -P6 -p1
+%patch -P7 -p1
 
 %build
 %if %{with userspace}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/squashfs_lzma.git/commitdiff/6e20e7cc3cec54944242272f9b0abdabd7626efe



More information about the pld-cvs-commit mailing list