aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/0001-fix-condition-for-make_setter-overload.patch
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-11-03 10:37:36 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-05 13:37:25 +0000
commitb3e387abc11beb69432143238b5db04c39d2be87 (patch)
tree7bbda8c0a2e55b5128b380bbd1f05f0a5c1f4c17 /main/boost/0001-fix-condition-for-make_setter-overload.patch
parent91f325ae3df6b12513246dc1f02db56f67386312 (diff)
downloadaports-b3e387abc11beb69432143238b5db04c39d2be87.tar.bz2
aports-b3e387abc11beb69432143238b5db04c39d2be87.tar.xz
main/boost: new upstream version 1.59.0, build with python3 support
Diffstat (limited to 'main/boost/0001-fix-condition-for-make_setter-overload.patch')
-rw-r--r--main/boost/0001-fix-condition-for-make_setter-overload.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/boost/0001-fix-condition-for-make_setter-overload.patch b/main/boost/0001-fix-condition-for-make_setter-overload.patch
new file mode 100644
index 0000000000..aa6fa07684
--- /dev/null
+++ b/main/boost/0001-fix-condition-for-make_setter-overload.patch
@@ -0,0 +1,25 @@
+From f410fbd64d887e2a8824f968b0533588489b5430 Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely <jwakely@redhat.com>
+Date: Wed, 2 Sep 2015 13:02:12 +0100
+Subject: [PATCH] Python: Fix condition for make_setter overload.
+
+This fixes the regression caused by 42e7d7b.
+
+Fixes #39
+---
+ include/boost/python/data_members.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/boost/python/data_members.hpp b/boost/python/data_members.hpp
+index 139bde3..5d3309c 100644
+--- a/boost/python/data_members.hpp
++++ b/boost/python/data_members.hpp
+@@ -305,7 +305,7 @@ inline object make_setter(D& x)
+ return detail::make_setter(x, default_call_policies(), is_member_pointer<D>(), 0);
+ }
+
+-# if BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
++# if !BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
+ template <class D>
+ inline object make_setter(D const& x)
+ {