[packages/lua52] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 01:11:07 CEST 2025
commit 171039e6a6baf15852985d17c949c46e454942ac
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 01:10:51 2025 +0200
Fix applying patches.
lua52.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lua52.spec b/lua52.spec
index 116ef8a..c47dd57 100644
--- a/lua52.spec
+++ b/lua52.spec
@@ -110,7 +110,7 @@ Statycznie skonsolidowany interpreter lua.
%prep
%setup -q -n lua-%{version}
-%patch0 -p1
+%patch -P0 -p1
sed -i -e '/#define LUA_ROOT/s,/usr/local/,%{_prefix}/,' \
-e '/#define LUA_CDIR/s,lib/lua/,%{_lib}/lua/,' src/luaconf.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lua52.git/commitdiff/171039e6a6baf15852985d17c949c46e454942ac
More information about the pld-cvs-commit
mailing list