[packages/lua51] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 01:11:04 CEST 2025
commit b873eaa52002134a8b7898d27e699fef693247a3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 01:10:48 2025 +0200
Fix applying patches.
lua51.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lua51.spec b/lua51.spec
index e6cfefc..ef1f26b 100644
--- a/lua51.spec
+++ b/lua51.spec
@@ -159,8 +159,8 @@ Statycznie skonsolidowany interpreter lua.
%prep
%setup -q -n lua-%{version}
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
sed -r -i 's|(#define LUA_ROOT.*)%{_prefix}/local/|\1%{_prefix}/|g' src/luaconf.h
sed -r -i 's|(#define LUA_CDIR.*)lib/|\1%{_lib}/|g' src/luaconf.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lua51.git/commitdiff/b873eaa52002134a8b7898d27e699fef693247a3
More information about the pld-cvs-commit
mailing list