Hello community,

here is the log from the commit of package vlc for openSUSE:Factory checked in 
at 2015-08-01 11:35:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vlc (Old)
 and      /work/SRC/openSUSE:Factory/.vlc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vlc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/vlc/vlc.changes  2015-05-16 07:14:38.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.vlc.new/vlc.changes     2015-08-01 
11:35:56.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul 24 12:28:32 UTC 2015 - [email protected]
+
+- Fix build with LUA 5.3 / 5.3.1.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vlc.spec ++++++
--- /var/tmp/diff_new_pack.H8ISMv/_old  2015-08-01 11:35:58.000000000 +0200
+++ /var/tmp/diff_new_pack.H8ISMv/_new  2015-08-01 11:35:58.000000000 +0200
@@ -96,8 +96,8 @@
 BuildRequires:  libtool
 BuildRequires:  libudev-devel >= 142
 BuildRequires:  libvorbis-devel >= 1.1
-BuildRequires:  libxml2-devel >= 2.5
 BuildRequires:  libvpx-devel
+BuildRequires:  libxml2-devel >= 2.5
 BuildRequires:  lirc-devel
 BuildRequires:  live555-devel >= 2015.01.27
 BuildRequires:  lua-devel >= 5.1
@@ -309,6 +309,17 @@
 %endif
 %endif
 
+### Fix up sources for LUA 5.3
+if pkg-config --atleast-version 5.3 lua; then
+  sed -i 's/luaL_optint/(int)&eger/'         
modules/lua/libs/{net,osd,volume}.c
+fi
+
+### And LUA 5.3.1 has some more API changes
+if pkg-config --atleast-version 5.3.1 lua; then
+  sed -i 's/luaL_checkint(/(int)luaL_checkinteger(/' \
+    
modules/lua/{demux,libs/{configuration,net,osd,playlist,stream,variables,volume}}.c
+fi
+
 # We do not rely on contrib but make use of system libraries
 rm -rf contrib
 # fix builddate info


Reply via email to