[packages/rt2x00] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:46:07 CEST 2025
commit e0a857e888a438e971bba992f4bb544d006a287c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:45:51 2025 +0200
Fix applying patches.
rt2x00.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rt2x00.spec b/rt2x00.spec
index 3d74db6..9fb4cbe 100644
--- a/rt2x00.spec
+++ b/rt2x00.spec
@@ -57,8 +57,8 @@ Sterownik jądra Linuksa dla kart WLAN opartych na układach RT2x00.
%prep
%setup -q -n %{name}-cvs-%{_snap}
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
%build
%{__perl} -nle 'next if /DEBUG/; /^(CONFIG_.+)=([yn])\b/ and print $2 eq "y" ? "#ifndef $1\n#define $1\n#endif\n" : "#undef $1\n"' config >rt2x00_config.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rt2x00.git/commitdiff/e0a857e888a438e971bba992f4bb544d006a287c
More information about the pld-cvs-commit
mailing list