[packages/php-captchaphp] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:08:44 CEST 2025
commit 34b2ac31542caf137a0d913705d62d778f21e860
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:08:29 2025 +0200
Fix applying patches.
php-captchaphp.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php-captchaphp.spec b/php-captchaphp.spec
index 7b092bb..c398d53 100644
--- a/php-captchaphp.spec
+++ b/php-captchaphp.spec
@@ -30,7 +30,7 @@ rather easily.
%prep
%setup -q -n captcha-%{version}
-%patch1 -p1
+%patch -P1 -p1
# Replace the font path by our (arbitrary) default font directory.
sed -i -e "/CAPTCHA_FONT_DIR/s#,.*#, '%{fontdir}/');#" captcha.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-captchaphp.git/commitdiff/34b2ac31542caf137a0d913705d62d778f21e860
More information about the pld-cvs-commit
mailing list