aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-10-22 20:30:43 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-10-22 20:30:43 +0000
commitb770fe59e2fc86ebe7683f4fdb3184120f78303e (patch)
tree2dc49928d30ecd169c595ab60ae80b3ce1a97416
parent33e4bb679b952810e177f26a56971dc3cd4a4bc6 (diff)
downloadports-b770fe59e2fc86ebe7683f4fdb3184120f78303e.tar.gz
ports-b770fe59e2fc86ebe7683f4fdb3184120f78303e.zip
dns/dnsdist: unbreak with boost 1.69
dnsdist-lua.cc:76:10: error: no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool' return g_noLuaSideEffect==true; ^~~~~~~~~~~~~~~~~~~~~~~ PR: 232525
Notes
Notes: svn path=/head/; revision=482789
-rw-r--r--dns/dnsdist/files/patch-boost-1.6913
1 files changed, 13 insertions, 0 deletions
diff --git a/dns/dnsdist/files/patch-boost-1.69 b/dns/dnsdist/files/patch-boost-1.69
new file mode 100644
index 000000000000..f542b8d3b52b
--- /dev/null
+++ b/dns/dnsdist/files/patch-boost-1.69
@@ -0,0 +1,13 @@
+https://github.com/PowerDNS/pdns/issues/7091
+
+--- dnsdist-lua.cc.orig 2018-07-10 12:43:20 UTC
++++ dnsdist-lua.cc
+@@ -73,7 +73,7 @@ void setLuaSideEffect()
+
+ bool getLuaNoSideEffect()
+ {
+- return g_noLuaSideEffect==true;
++ return bool{g_noLuaSideEffect};
+ }
+
+ void resetLuaSideEffect()