Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 11:38:02 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496048 - in head/dns/dnsdist: . files
Message-ID:  <201903171138.x2HBc2P8012435@repo.freebsd.org>

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



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