pdns-recursor: fix compilation with boost 1.73
authorRosen Penev <redacted>
Wed, 6 May 2020 03:11:19 +0000 (20:11 -0700)
committerRosen Penev <redacted>
Wed, 6 May 2020 21:30:17 +0000 (14:30 -0700)
Signed-off-by: Rosen Penev <redacted>
net/pdns-recursor/Makefile
net/pdns-recursor/patches/300-boost-173.patch [new file with mode: 0644]

index b0bc0d448ff9ae8488817d2fcaff9c30daf1759f..a58087e1481df9970ce23bc7064258d7c70ce62c 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pdns-recursor
 PKG_VERSION:=4.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
diff --git a/net/pdns-recursor/patches/300-boost-173.patch b/net/pdns-recursor/patches/300-boost-173.patch
new file mode 100644 (file)
index 0000000..ecddd9d
--- /dev/null
@@ -0,0 +1,21 @@
+--- a/webserver.cc
++++ b/webserver.cc
+@@ -36,6 +36,8 @@
+ #include "uuid-utils.hh"
+ #include <yahttp/router.hpp>
++using namespace boost::placeholders;
++
+ json11::Json HttpRequest::json()
+ {
+   string err;
+--- a/ws-recursor.cc
++++ b/ws-recursor.cc
+@@ -45,6 +45,7 @@
+ extern thread_local FDMultiplexer* t_fdm;
++using namespace boost::placeholders;
+ using json11::Json;
+ void productServerStatisticsFetch(map<string,string>& out)
git clone https://git.99rst.org/PROJECT