aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-10-26 08:31:00 +0800
committerjbeich <jbeich@FreeBSD.org>2018-10-26 08:31:00 +0800
commitbb897ec1fd67859d84ba717f45689beab4a7dbe6 (patch)
tree1232fcdfa5b3470ddb0608790fcd1207f41bf9ed /dns
parent6308caaaa01a4737f8be6ce8bdd0cff6d568bb47 (diff)
downloadfreebsd-ports-gnome-bb897ec1fd67859d84ba717f45689beab4a7dbe6.tar.gz
freebsd-ports-gnome-bb897ec1fd67859d84ba717f45689beab4a7dbe6.tar.zst
freebsd-ports-gnome-bb897ec1fd67859d84ba717f45689beab4a7dbe6.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.
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()