Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 20:30:43 +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: r482789 - head/dns/dnsdist/files
Message-ID:  <201810222030.w9MKUhbt098224@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810222030.w9MKUhbt098224>