diff --git a/rrdtool-1.4.9-lua-5.2.patch b/rrdtool-1.4.9-lua-5.2.patch index 3c750fb..92b3f59 100644 --- a/rrdtool-1.4.9-lua-5.2.patch +++ b/rrdtool-1.4.9-lua-5.2.patch @@ -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 diff --git a/rrdtool.spec b/rrdtool.spec index d42711e..e465765 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -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 - 1.4.9-3 +- Rebuilt for Lua 5.3 + * Fri Jan 16 2015 Mamoru TASAKA - 1.4.9-2 - Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2