Hello community,

here is the log from the commit of package luasocket for openSUSE:Factory 
checked in at 2016-02-17 10:30:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/luasocket (Old)
 and      /work/SRC/openSUSE:Factory/.luasocket.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "luasocket"

Changes:
--------
--- /work/SRC/openSUSE:Factory/luasocket/luasocket.changes      2014-02-24 
07:02:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.luasocket.new/luasocket.changes 2016-02-17 
12:15:22.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Jan 22 09:52:11 UTC 2016 - [email protected]
+
+- fix 'undefined symbol: luaL_checkint' in socket/core.so
+  add luasocket-3.0-rc1.patch
+
+-------------------------------------------------------------------

New:
----
  luasocket-3.0-rc1.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ luasocket.spec ++++++
--- /var/tmp/diff_new_pack.C7qaj5/_old  2016-02-17 12:15:22.000000000 +0100
+++ /var/tmp/diff_new_pack.C7qaj5/_new  2016-02-17 12:15:22.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package luasocket
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Url:            https://github.com/diegonehab/luasocket
 Source0:        luasocket-%{_version}.tar.gz
 Patch0:         luasocket-makefile.patch
+# BUG-FIX-OPENSUSE Rename luaL_checkint to luaL_checkinteger
+Patch1:         luasocket-3.0-rc1.patch
 BuildRequires:  lua-devel
 BuildRequires:  xz
 Requires:       lua >= %{lua_version}
@@ -43,6 +45,7 @@
 %prep
 %setup -q -n %{name}-%{_version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{_bindir}/iconv -f ISO8859-1 -t UTF8 LICENSE >LICENSE.UTF8

++++++ luasocket-3.0-rc1.patch ++++++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-luasocket-3.0-rc1/gem/gem.c ./gem/gem.c
--- ../orig-luasocket-3.0-rc1/gem/gem.c 2013-06-14 13:27:32.000000000 +0200
+++ ./gem/gem.c 2016-01-22 10:44:51.368321310 +0100
@@ -24,7 +24,7 @@
 }
 
 static int eol(lua_State *L) {
-  int context = luaL_checkint(L, 1);
+  int context = luaL_checkinteger(L, 1);
   size_t isize = 0;
   const char *input = luaL_optlstring(L, 2, NULL, &isize);
   const char *last = input + isize;
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-luasocket-3.0-rc1/gem/ltn012.tex 
./gem/ltn012.tex
--- ../orig-luasocket-3.0-rc1/gem/ltn012.tex    2013-06-14 13:27:32.000000000 
+0200
+++ ./gem/ltn012.tex    2016-01-22 10:44:55.032378043 +0100
@@ -269,7 +269,7 @@
 \begin{C}
 @stick#
 static int eol(lua_State *L) {
-  int context = luaL_checkint(L, 1);
+  int context = luaL_checkinteger(L, 1);
   size_t isize = 0;
   const char *input = luaL_optlstring(L, 2, NULL, &isize);
   const char *last = input + isize;
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-luasocket-3.0-rc1/ltn012.wiki 
./ltn012.wiki
--- ../orig-luasocket-3.0-rc1/ltn012.wiki       2013-06-14 13:27:32.000000000 
+0200
+++ ./ltn012.wiki       2016-01-22 10:45:07.240567055 +0100
@@ -89,7 +89,7 @@
 The inner function makes use of Lua's auxiliary library's buffer interface for 
its efficiency and ease of use. The outer function simply interfaces with Lua.  
It receives the context and the input chunk (as well as an optional end-of-line 
marker), and returns the transformed output and the new context.
         {{{
 static int eol(lua_State *L) {
-    int ctx = luaL_checkint(L, 1);
+    int ctx = luaL_checkinteger(L, 1);
     size_t isize = 0;
     const char *input = luaL_optlstring(L, 2, NULL, &isize);
     const char *last = input + isize;
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-luasocket-3.0-rc1/src/luasocket.c 
./src/luasocket.c
--- ../orig-luasocket-3.0-rc1/src/luasocket.c   2013-06-14 13:27:32.000000000 
+0200
+++ ./src/luasocket.c   2016-01-22 10:44:42.360181822 +0100
@@ -64,7 +64,7 @@
 * Skip a few arguments
 \*-------------------------------------------------------------------------*/
 static int global_skip(lua_State *L) {
-    int amount = luaL_checkint(L, 1);
+    int amount = luaL_checkinteger(L, 1);
     int ret = lua_gettop(L) - amount - 1;
     return ret >= 0 ? ret : 0;
 }
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-luasocket-3.0-rc1/src/mime.c 
./src/mime.c
--- ../orig-luasocket-3.0-rc1/src/mime.c        2013-06-14 13:27:32.000000000 
+0200
+++ ./src/mime.c        2016-01-22 10:44:47.216257018 +0100
@@ -661,7 +661,7 @@
 \*-------------------------------------------------------------------------*/
 static int mime_global_eol(lua_State *L)
 {
-    int ctx = luaL_checkint(L, 1);
+    int ctx = luaL_checkinteger(L, 1);
     size_t isize = 0;
     const char *input = luaL_optlstring(L, 2, NULL, &isize);
     const char *last = input + isize;

Reply via email to