Hello community,

here is the log from the commit of package efl for openSUSE:Factory checked in 
at 2017-07-08 12:34:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/efl (Old)
 and      /work/SRC/openSUSE:Factory/.efl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "efl"

Sat Jul  8 12:34:58 2017 rev:30 rq:508676 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/efl/efl.changes  2017-06-01 16:32:40.207665673 
+0200
+++ /work/SRC/openSUSE:Factory/.efl.new/efl.changes     2017-07-08 
12:34:58.837535372 +0200
@@ -1,0 +2,5 @@
+Fri Jul  7 02:39:08 UTC 2017 - sfl...@suse.de
+
+- Fix build fix-upstream-elua-build.patch
+
+-------------------------------------------------------------------

New:
----
  fix-upstream-elua-build.patch

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

Other differences:
------------------
++++++ efl.spec ++++++
--- /var/tmp/diff_new_pack.eldxll/_old  2017-07-08 12:35:00.413313109 +0200
+++ /var/tmp/diff_new_pack.eldxll/_new  2017-07-08 12:35:00.417312545 +0200
@@ -78,6 +78,7 @@
 Url:            git://git.enlightenment.org/core/efl.git
 Source:         %{name}-%{version}.tar.xz
 Patch1:         fix-upstream-eina-hampster-repo-build.patch
+Patch2:         fix-upstream-elua-build.patch
 BuildRequires:  autoconf >= 2.5
 BuildRequires:  automake
 %if %build_doc
@@ -733,7 +734,7 @@
 
 %prep
 %setup -q
-%patch1 -p1
+%autopatch -p1
 
 %build
 # For now i'm not using a proper source tarball.

++++++ fix-upstream-elua-build.patch ++++++
commit 847c93171bf104f877b9065aa1b06a6f95d5e2e6
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Wed Jun 28 11:51:29 2017 +0200

    elua: use up to date lua API
    
    luaL_reg is a 5.0 API which we don't support.

diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index 185f592890..2d9eebe3c3 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -355,7 +355,7 @@ _elua_get_localeconv(lua_State *L)
    return 1;
 };
 
-const luaL_reg gettextlib[] =
+const luaL_Reg gettextlib[] =
 {
    { "bind_textdomain", _elua_gettext_bind_textdomain },
    { "get_message_language", _elua_get_message_language },
@@ -442,7 +442,7 @@ _elua_file_rmrf(lua_State *L)
    return 1;
 }
 
-const luaL_reg _elua_cutillib[] =
+const luaL_Reg _elua_cutillib[] =
 {
    { "init_module", _elua_module_init },
    { "popenv"     , _elua_io_popen    },
diff --git a/src/lib/elua/io.c b/src/lib/elua/io.c
index 6835e9936f..186170b87c 100644
--- a/src/lib/elua/io.c
+++ b/src/lib/elua/io.c
@@ -313,7 +313,7 @@ elua_ftostring(lua_State *L)
    return 1;
 }
 
-static const luaL_reg elua_popenlib[] =
+static const luaL_Reg elua_popenlib[] =
 {
    { "close"     , elua_close     },
    { "flush"     , elua_flush     },

Reply via email to