[packages/apmd] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 22:39:18 CEST 2025


commit 1147ddf78e70995a253d405fdbe7c8b64f7a392a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 22:39:02 2025 +0200

    Fix applying patches.

 apmd.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apmd.spec b/apmd.spec
index 9662425..e1711c1 100644
--- a/apmd.spec
+++ b/apmd.spec
@@ -235,7 +235,7 @@ XFree86.
 
 %prep
 %setup -q -n %{name}-%{version}.orig
-%patch0 -p1
+%patch -P0 -p1
 
 sed -i -e 's#-I/usr/src/linux.*/include##g' Makefile
 sed -i -e 's#\.\./libapm\.a#-L../.libs -lapm#' xbattery/Makefile
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apmd.git/commitdiff/1147ddf78e70995a253d405fdbe7c8b64f7a392a



More information about the pld-cvs-commit mailing list