svn commit: r496048 - in head/dns/dnsdist: . files

Carlos J. Puga Medina cpm at FreeBSD.org
Sun Mar 17 11:38:03 UTC 2019


Author: cpm
Date: Sun Mar 17 11:38:01 2019
New Revision: 496048
URL: https://svnweb.freebsd.org/changeset/ports/496048

Log:
  dns/dnsdist: unbreak with boost 1.70
  
  dnsdist-lua-vars.cc:99:61: error: expected unqualified-id
                                         {"BADSIG",   ERCode::BADSIG  },
                                                              ^
  /usr/include/sys/signal.h:490:17: note: expanded from macro 'BADSIG'
  #define BADSIG          SIG_ERR
                          ^
  /usr/include/sys/signal.h:139:18: note: expanded from macro 'SIG_ERR'
  #define SIG_ERR         ((__sighandler_t *)-1)
                          ^
  
  PR:		236587
  Reported by:	jbeich

Added:
  head/dns/dnsdist/files/patch-dnsdist-lua-vars.cc   (contents, props changed)
Modified:
  head/dns/dnsdist/Makefile

Modified: head/dns/dnsdist/Makefile
==============================================================================
--- head/dns/dnsdist/Makefile	Sun Mar 17 11:35:07 2019	(r496047)
+++ head/dns/dnsdist/Makefile	Sun Mar 17 11:38:01 2019	(r496048)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dnsdist
 DISTVERSION=	1.3.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	dns net
 MASTER_SITES=	https://downloads.powerdns.com/releases/ \
 		LOCAL/cpm

Added: head/dns/dnsdist/files/patch-dnsdist-lua-vars.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsdist/files/patch-dnsdist-lua-vars.cc	Sun Mar 17 11:38:01 2019	(r496048)
@@ -0,0 +1,11 @@
+--- dnsdist-lua-vars.cc.orig	2018-10-03 09:48:10 UTC
++++ dnsdist-lua-vars.cc
+@@ -22,6 +22,8 @@
+ #include "dnsdist.hh"
+ #include "ednsoptions.hh"
+ 
++#undef BADSIG // signal.h SIG_ERR
++
+ void setupLuaVars()
+ {
+   g_lua.writeVariable("DNSAction", std::unordered_map<string,int>{


More information about the svn-ports-all mailing list