[packages/duke3d] Fix applying patches.
arekm
arekm at pld-linux.org
Mon Jul 14 23:20:51 CEST 2025
commit 8bc7edef7505395f6ab955dc7b1227993de2db7f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 23:20:35 2025 +0200
Fix applying patches.
duke3d.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/duke3d.spec b/duke3d.spec
index 32c0711..fe4808c 100644
--- a/duke3d.spec
+++ b/duke3d.spec
@@ -29,7 +29,7 @@ Aby uruchomić grę wymagane są pliki z Atomic Edition.
%prep
%setup -q -n %{name}
-%patch0 -p1
+%patch -P0 -p1
ver=$(awk -F'"' '/DUKE NUKEM BUILD/{a=$(NF-1); sub(/.*: V/, "", a); print a}' source/astub.c)
if [ "$ver" != %{ver} ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/duke3d.git/commitdiff/8bc7edef7505395f6ab955dc7b1227993de2db7f
More information about the pld-cvs-commit
mailing list