added patch against libboost 1.57 [release 0.9.1-3mamba;Mon Feb 09 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 06:31:57 +01:00
parent 05b224dbea
commit b437d4a1c2
2 changed files with 28 additions and 1 deletions

View File

@ -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

View File

@ -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 <silvan.calarco@mambasoft.it> 0.9.1-3mamba
- added patch against libboost 1.57
* Wed Sep 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
- added pkg-config file
- build release not debug library