From b437d4a1c29d95755ab0897ba5971208923743c9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:31:57 +0100 Subject: [PATCH] added patch against libboost 1.57 [release 0.9.1-3mamba;Mon Feb 09 2015] --- luabind-0.9.1-libboost-1.57.patch | 20 ++++++++++++++++++++ luabind.spec | 9 ++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 luabind-0.9.1-libboost-1.57.patch diff --git a/luabind-0.9.1-libboost-1.57.patch b/luabind-0.9.1-libboost-1.57.patch new file mode 100644 index 0000000..28c1191 --- /dev/null +++ b/luabind-0.9.1-libboost-1.57.patch @@ -0,0 +1,20 @@ +diff --git a/luabind/object.hpp b/luabind/object.hpp +index 5e2771c..24c140c 100644 +--- a/luabind/object.hpp ++++ b/luabind/object.hpp +@@ -544,6 +544,7 @@ namespace detail + handle m_key; + }; + ++#if BOOST_VERSION < 105700 + // Needed because of some strange ADL issues. + + #define LUABIND_OPERATOR_ADL_WKND(op) \ +@@ -565,6 +566,7 @@ namespace detail + LUABIND_OPERATOR_ADL_WKND(!=) + + #undef LUABIND_OPERATOR_ADL_WKND ++#endif + + } // namespace detail + diff --git a/luabind.spec b/luabind.spec index a68800b..f805e84 100644 --- a/luabind.spec +++ b/luabind.spec @@ -1,6 +1,6 @@ Name: luabind Version: 0.9.1 -Release: 2mamba +Release: 3mamba Summary: A library that helps you create bindings between C++ and Lua Group: Development/Libraries Vendor: openmamba @@ -13,6 +13,7 @@ Patch0: luabind-0.9.1-lua-5.2.patch Patch1: luabind-0.9.1-x86_64-libdir.patch Patch2: luabind-0.9.1-libboost-1.55.patch Patch3: luabind-0.9.1-lua-5.2-Jamfile.patch +Patch4: luabind-0.9.1-libboost-1.57.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -20,6 +21,8 @@ BuildRequires: libgcc BuildRequires: liblua-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: boost-jam +BuildRequires: libboost-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -48,6 +51,7 @@ This package contains libraries and header files for developing applications tha %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %ifnarch x86_64 sed -i "s|/lib64|/lib|" Jamroot @@ -99,6 +103,9 @@ _EOF %{_libdir}/pkgconfig/luabind.pc %changelog +* Mon Feb 09 2015 Silvan Calarco 0.9.1-3mamba +- added patch against libboost 1.57 + * Wed Sep 17 2014 Silvan Calarco 0.9.1-2mamba - added pkg-config file - build release not debug library