Date: Fri, 26 Oct 2018 00:31:00 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482997 - head/dns/dnsdist/files Message-ID: <201810260031.w9Q0V0A4054910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Oct 26 00:31:00 2018 New Revision: 482997 URL: https://svnweb.freebsd.org/changeset/ports/482997 Log: 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. Modified: head/dns/dnsdist/files/patch-boost-1.69 (contents, props changed) Modified: head/dns/dnsdist/files/patch-boost-1.69 ============================================================================== --- head/dns/dnsdist/files/patch-boost-1.69 Fri Oct 26 00:30:45 2018 (r482996) +++ head/dns/dnsdist/files/patch-boost-1.69 Fri Oct 26 00:31:00 2018 (r482997) @@ -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()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810260031.w9Q0V0A4054910>