[packages/phorum] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:08:05 CEST 2025
commit f4ff5c05e7552a601607d47c3f196b699c95e7e3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:07:49 2025 +0200
Fix applying patches.
phorum.spec | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/phorum.spec b/phorum.spec
index ea0b1da..3b936a0 100644
--- a/phorum.spec
+++ b/phorum.spec
@@ -323,15 +323,15 @@ sed -i -e "s,require_once PHORUM_DIR.'/common.php';,require_once 'common.php';,"
# you can rm -rf these dirs to simplify:
# rm -rf htmldoc/ docbook/ docs/ examples/ *.lang
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch10 -p1
-%patch12 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P10 -p1
+%patch -P12 -p1
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/phorum.git/commitdiff/f4ff5c05e7552a601607d47c3f196b699c95e7e3
More information about the pld-cvs-commit
mailing list