diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2019-03-17 11:38:01 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2019-03-17 11:38:01 +0000 |
commit | dae289f3cae219a37b8a9281aeab2536cbfad731 (patch) | |
tree | 76449a383840dc7171b82b6ff3cf9e08ddfc19eb /dns/dnsdist | |
parent | fdee202bdfba1da1ee21e1c978a3cd8e87cd177d (diff) | |
download | ports-dae289f3cae219a37b8a9281aeab2536cbfad731.tar.gz ports-dae289f3cae219a37b8a9281aeab2536cbfad731.zip |
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
Notes
Notes:
svn path=/head/; revision=496048
Diffstat (limited to 'dns/dnsdist')
-rw-r--r-- | dns/dnsdist/Makefile | 2 | ||||
-rw-r--r-- | dns/dnsdist/files/patch-dnsdist-lua-vars.cc | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile index 30fd82ca2c4d..c105be13e449 100644 --- a/dns/dnsdist/Makefile +++ b/dns/dnsdist/Makefile @@ -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 diff --git a/dns/dnsdist/files/patch-dnsdist-lua-vars.cc b/dns/dnsdist/files/patch-dnsdist-lua-vars.cc new file mode 100644 index 000000000000..935c691f228b --- /dev/null +++ b/dns/dnsdist/files/patch-dnsdist-lua-vars.cc @@ -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>{ |