svn commit: r482789 - head/dns/dnsdist/files

Jan Beich jbeich at FreeBSD.org
Mon Oct 22 20:30:44 UTC 2018


Author: jbeich
Date: Mon Oct 22 20:30:43 2018
New Revision: 482789
URL: https://svnweb.freebsd.org/changeset/ports/482789

Log:
  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

Added:
  head/dns/dnsdist/files/patch-boost-1.69   (contents, props changed)

Added: head/dns/dnsdist/files/patch-boost-1.69
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsdist/files/patch-boost-1.69	Mon Oct 22 20:30:43 2018	(r482789)
@@ -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()


More information about the svn-ports-head mailing list