[packages/lua52] - rel.3 - enable all the compat possible (breaks at least vlc)
blues
blues at pld-linux.org
Fri Apr 10 14:16:12 CEST 2015
commit 16700820d6ff96416fe96d1b9a03007239c5dc77
Author: Paweł Gołaszewski <blues at pld-linux.org>
Date: Fri Apr 10 14:15:41 2015 +0200
- rel.3 - enable all the compat possible (breaks at least vlc)
lua52.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lua52.spec b/lua52.spec
index bf987b5..aecdc2a 100644
--- a/lua52.spec
+++ b/lua52.spec
@@ -7,7 +7,7 @@ Summary: A simple lightweight powerful embeddable programming language
Summary(pl.UTF-8): Prosty, lekki ale potężny, osadzalny język programowania
Name: lua52
Version: 5.2.3
-Release: 2
+Release: 3
License: MIT
Group: Development/Languages
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
@@ -120,7 +120,7 @@ sed -i -e '/#define LUA_ROOT/s,/usr/local/,%{_prefix}/,' \
%{__make} all \
PLAT=posix \
CC="diet %{__cc}" \
- CFLAGS="%{rpmcflags} -Wall -fPIC -Os -DPIC -D_GNU_SOURCE -DLUA_USE_POSIX"
+ CFLAGS="%{rpmcflags} -Wall -fPIC -Os -DPIC -D_GNU_SOURCE -DLUA_USE_POSIX -DLUA_COMPAT_ALL"
mv src/lua lua.static
mv src/luac luac.static
%{__make} clean
@@ -129,7 +129,7 @@ mv src/luac luac.static
%{__make} -j1 all \
PLAT=linux \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -Wall -fPIC -DPIC -D_GNU_SOURCE -DLUA_USE_LINUX"
+ CFLAGS="%{rpmcflags} -Wall -fPIC -DPIC -D_GNU_SOURCE -DLUA_USE_LINUX -DLUA_COMPAT_ALL"
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lua52.git/commitdiff/16700820d6ff96416fe96d1b9a03007239c5dc77
More information about the pld-cvs-commit
mailing list