aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-10-26 00:31:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-10-26 00:31:00 +0000
commit0c5b33d4a3fbe686d3bf54f85cbc60daa028dce7 (patch)
tree1232fcdfa5b3470ddb0608790fcd1207f41bf9ed /dns
parentbe35077f23b0b1cf5910f80291c335943f24c76a (diff)
downloadports-0c5b33d4a3fbe686d3bf54f85cbc60daa028dce7.tar.gz
ports-0c5b33d4a3fbe686d3bf54f85cbc60daa028dce7.zip
dns/dnsdist: replace r482789 with upstream version
Upstream chose more verbose fix via if() construct where indeterminate value takes false branch. Similar behavior to explict conversion.
Notes
Notes: svn path=/head/; revision=482997
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsdist/files/patch-boost-1.699
1 files changed, 6 insertions, 3 deletions
diff --git a/dns/dnsdist/files/patch-boost-1.69 b/dns/dnsdist/files/patch-boost-1.69
index f542b8d3b52b..2fcbe7f158f7 100644
--- a/dns/dnsdist/files/patch-boost-1.69
+++ b/dns/dnsdist/files/patch-boost-1.69
@@ -1,13 +1,16 @@
-https://github.com/PowerDNS/pdns/issues/7091
+https://github.com/PowerDNS/pdns/commit/d7a263770fea
--- dnsdist-lua.cc.orig 2018-07-10 12:43:20 UTC
+++ dnsdist-lua.cc
-@@ -73,7 +73,7 @@ void setLuaSideEffect()
+@@ -73,7 +73,10 @@ void setLuaSideEffect()
bool getLuaNoSideEffect()
{
- return g_noLuaSideEffect==true;
-+ return bool{g_noLuaSideEffect};
++ if (g_noLuaSideEffect) {
++ return true;
++ }
++ return false;
}
void resetLuaSideEffect()