[packages/pwc] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:24:52 CEST 2025
commit d2bc36cdc057fcccb35a6b488e079b0cdf1d38da
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:24:36 2025 +0200
Fix applying patches.
pwc.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pwc.spec b/pwc.spec
index e5cf272..802a36b 100644
--- a/pwc.spec
+++ b/pwc.spec
@@ -104,7 +104,7 @@ Ten pakiet zawiera moduł jądra Linuksa SMP. Plik nazywa się
%prep
%setup -q -n %{name}-%{version}-%{_rc}
-%patch0 -p0
+%patch -P0 -p0
grep -E "^pwc-objs" Makefile > Makefile.new
echo "obj-m += pwc.o" >> Makefile.new
echo "CFLAGS += -DXAWTV_HAS_BEEN_FIXED=1" >> Makefile.new
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pwc.git/commitdiff/d2bc36cdc057fcccb35a6b488e079b0cdf1d38da
More information about the pld-cvs-commit
mailing list