Rebuilt for Lua 5.3

This commit is contained in:
Michel Alexandre Salim 2015-01-18 22:31:35 +07:00
parent e2855d292f
commit ff10078496
2 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,7 @@ index 3ef1bef..187e127 100644
lua_havelib=no
LUA_HAVE_COMPAT51=DONT_HAVE_COMPAT51
- AC_SEARCH_LIBS(lua_call, lua$lua_vdot lua$lua_vndot lua,
+ if test "$lua_vndot" = "52"; then
+ if test "$lua_vndot" -ge "52"; then
+ CALL_FUNC=lua_callk
+ else
+ CALL_FUNC=lua_call
@ -57,7 +57,7 @@ index 0000000..f597371
+ lua_havelib=no
+ LUA_HAVE_COMPAT51=DONT_HAVE_COMPAT51
+- AC_SEARCH_LIBS(lua_call, lua$lua_vdot lua$lua_vndot lua,
++ if test "$lua_vndot" = "52"; then
++ if test "$lua_vndot" -ge "52"; then
++ CALL_FUNC=lua_callk
++ else
++ CALL_FUNC=lua_call

View File

@ -17,7 +17,7 @@
Summary: Round Robin Database Tool to store and display time-series data
Name: rrdtool
Version: 1.4.9
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Databases
URL: http://oss.oetiker.ch/rrdtool/
@ -390,6 +390,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
%endif
%changelog
* Sun Jan 18 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.4.9-3
- Rebuilt for Lua 5.3
* Fri Jan 16 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.9-2
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2