Commit dae289f3 authored by Carlos J. Puga Medina's avatar Carlos J. Puga Medina
Browse files

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
parent fdee202b
......@@ -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
......
--- 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>{
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment