summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/dnsdist/Makefile2
-rw-r--r--dns/dnsdist/files/patch-dnsdist-lua-vars.cc11
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>{