[rrdtool] Rebuilt for Lua 5.3

Michel Alexandre Salim salimma at fedoraproject.org
Sun Jan 18 15:31:31 UTC 2015


commit ff100784962b40c60fa8c1e302b8b1bd3677ef9c
Author: Michel Alexandre Salim <michel at michel-slm.name>
Date:   Sun Jan 18 22:31:35 2015 +0700

    Rebuilt for Lua 5.3

 rrdtool-1.4.9-lua-5.2.patch |    4 ++--
 rrdtool.spec                |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
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 <salimma at fedoraproject.org> - 1.4.9-3
+- Rebuilt for Lua 5.3
+
 * Fri Jan 16 2015 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.4.9-2
 - Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
 


More information about the scm-commits mailing list