aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-10-24 00:48:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-10-24 00:48:33 +0000
commit3684926f9afa2d87a7c2ba532c7b9c65970a04bc (patch)
treea5fa0fb6f478afe71ea9c091531bec2e4bda3666
parent9c613adcd7f297d8626110a074ad7ef18763d17a (diff)
Notes
-rw-r--r--devel/boost-libs/Makefile2
-rw-r--r--devel/boost-libs/files/patch-boost_spirit_home_x3_nonterminal_detail_rule.hpp22
2 files changed, 23 insertions, 1 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 5478247eae7b..689d47bf2234 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= boost-libs
-PORTREVISION= 1
+PORTREVISION= 2
COMMENT= Free portable C++ libraries (without Boost.Python)
diff --git a/devel/boost-libs/files/patch-boost_spirit_home_x3_nonterminal_detail_rule.hpp b/devel/boost-libs/files/patch-boost_spirit_home_x3_nonterminal_detail_rule.hpp
new file mode 100644
index 000000000000..92e4cdd7d31a
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost_spirit_home_x3_nonterminal_detail_rule.hpp
@@ -0,0 +1,22 @@
+https://github.com/boostorg/spirit/pull/549
+
+--- boost/spirit/home/x3/nonterminal/detail/rule.hpp.orig 2019-08-14 12:03:34 UTC
++++ boost/spirit/home/x3/nonterminal/detail/rule.hpp
+@@ -20,6 +20,8 @@
+ #include <boost/spirit/home/x3/nonterminal/simple_trace.hpp>
+ #endif
+
++#include <type_traits>
++
+ namespace boost { namespace spirit { namespace x3
+ {
+ template <typename ID>
+@@ -191,7 +193,7 @@ namespace boost { namespace spirit { namespace x3 { na
+ typedef
+ decltype(parse_rule(
+ rule<ID, Attribute>(), first, last
+- , make_unique_context<ID>(rhs, context), attr))
++ , make_unique_context<ID>(rhs, context), std::declval<Attribute&>()))
+ parse_rule_result;
+
+ // If there is no BOOST_SPIRIT_DEFINE for this rule,