[ClanLib06] Rebuilt against new lua-5.2 based tolua++

Hans de Goede jwrdegoede at fedoraproject.org
Wed Dec 17 10:49:01 UTC 2014


commit 9e72cf74b3ddcc3fe88464c1a40d0725a213b39d
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Dec 17 11:48:51 2014 +0100

    Rebuilt against new lua-5.2 based tolua++

 ClanLib-0.6.5-compat-lua-5.1.patch |   26 --------------------------
 ClanLib-0.6.5-lua52.patch          |   12 ++++++++++++
 ClanLib06.spec                     |   11 +++++++----
 3 files changed, 19 insertions(+), 30 deletions(-)
---
diff --git a/ClanLib-0.6.5-lua52.patch b/ClanLib-0.6.5-lua52.patch
new file mode 100644
index 0000000..0dd6fa8
--- /dev/null
+++ b/ClanLib-0.6.5-lua52.patch
@@ -0,0 +1,12 @@
+diff -up ClanLib-0.6.5/Sources/API/Lua/lua.h~ ClanLib-0.6.5/Sources/API/Lua/lua.h
+--- ClanLib-0.6.5/Sources/API/Lua/lua.h~	2014-12-17 11:39:16.000000000 +0100
++++ ClanLib-0.6.5/Sources/API/Lua/lua.h	2014-12-17 11:43:02.154064631 +0100
+@@ -47,7 +47,7 @@ public:
+ 	//: Init
+ 	static void init()
+ 	{
+-		state=lua_open();
++		state=luaL_newstate();
+ 		tolua_clanbindings_open(state);
+ 		luaopen_base(state);
+ 		initialized=true;
diff --git a/ClanLib06.spec b/ClanLib06.spec
index c3ad4e3..4a65673 100644
--- a/ClanLib06.spec
+++ b/ClanLib06.spec
@@ -1,7 +1,7 @@
 Summary:        Version 0.6 of this Cross platform C++ game library
 Name:           ClanLib06
 Version:        0.6.5
-Release:        32%{?dist}
+Release:        33%{?dist}
 Group:          System Environment/Libraries
 License:        LGPLv2
 URL:            http://www.clanlib.org/
@@ -23,12 +23,12 @@ Patch9:         ClanLib-0.6.5-iterator-abuse.patch
 Patch10:        ClanLib-0.6.5-gcc4.6.patch
 Patch11:        ClanLib-0.6.5-gzopen-flags.patch
 Patch12:        ClanLib-0.6.5-libpng15.patch
-Patch13:        ClanLib-0.6.5-compat-lua-5.1.patch
+Patch13:        ClanLib-0.6.5-lua52.patch
 BuildRequires:  libX11-devel libXext-devel libXt-devel libGLU-devel
 BuildRequires:  libICE-devel libXxf86vm-devel xorg-x11-proto-devel
 BuildRequires:  libvorbis-devel libpng-devel libjpeg-devel mikmod-devel
-BuildRequires:  tolua++-devel Hermes-devel freetype-devel autoconf
-BuildRequires:  alsa-lib-devel
+BuildRequires:  alsa-lib-devel Hermes-devel freetype-devel autoconf
+BuildRequires:  tolua++-devel >= 1.0.93-14
 Provides:       clanlib06 = %{version}-%{release}
 
 %description
@@ -104,6 +104,9 @@ chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/clanlib-config.1*
 
 
 %changelog
+* Wed Dec 17 2014 Hans de Goede <hdegoede at redhat.com> - 0.6.5-33
+- Rebuilt against new lua-5.2 based tolua++
+
 * Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.5-32
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list