[packages/slmdm] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 03:00:48 CEST 2025
commit 7bbaf65025791d6d826f74aca5c3c3a944afdfb3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 03:00:33 2025 +0200
Fix applying patches.
slmdm.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/slmdm.spec b/slmdm.spec
index 8f4a3e0..9f01ea0 100644
--- a/slmdm.spec
+++ b/slmdm.spec
@@ -93,9 +93,9 @@ pakiet zawiera sterownik dla modemów USB opartych na SmartUSB56.
%setup -q
# patch needed since vanilla 2.4.20 or PLD's 2.4.19-2.x
%if %(grep -q iso_packet_descriptor_t %{_kernelsrcdir}/include/linux/usb.h ; echo $?)
-%patch0 -p1
+%patch -P0 -p1
%endif
-%patch1 -p1
+%patch -P1 -p1
%build
echo "[%{_kernel_ver}]"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/slmdm.git/commitdiff/7bbaf65025791d6d826f74aca5c3c3a944afdfb3
More information about the pld-cvs-commit
mailing list