diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-05-09 19:50:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 19:50:19 -0700 |
commit | 83d36065d5e678f3309375f5d07188f960a6850f (patch) | |
tree | f13c06418f2e1cc62bc3cebf9249a78aa7238a94 /net | |
parent | ea692188e0c285c98f84947eaf9f266d4ba18dc0 (diff) | |
parent | a9f9f6e0f40599a06161e1166b8970578b955683 (diff) |
Merge pull request #12098 from neheb/pdnsr
pdns: fix compilation with boost 1.73
Diffstat (limited to 'net')
-rw-r--r-- | net/pdns/Makefile | 2 | ||||
-rw-r--r-- | net/pdns/patches/300-boost-173.patch | 32 |
2 files changed, 33 insertions, 1 deletions
diff --git a/net/pdns/Makefile b/net/pdns/Makefile index fe80565e8..b8d767cde 100644 --- a/net/pdns/Makefile +++ b/net/pdns/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pdns PKG_VERSION:=4.2.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/ diff --git a/net/pdns/patches/300-boost-173.patch b/net/pdns/patches/300-boost-173.patch new file mode 100644 index 000000000..aefdea7b3 --- /dev/null +++ b/net/pdns/patches/300-boost-173.patch @@ -0,0 +1,32 @@ +--- a/pdns/ixfrdist-web.cc ++++ b/pdns/ixfrdist-web.cc +@@ -25,6 +25,8 @@ + #include "iputils.hh" + #include "ixfrdist-stats.hh" + ++using namespace boost::placeholders; ++ + string doGetStats(); + + IXFRDistWebServer::IXFRDistWebServer(const ComboAddress &listenAddress, const NetmaskGroup &acl, const string &loglevel) : +--- a/pdns/webserver.cc ++++ b/pdns/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/pdns/ws-auth.cc ++++ b/pdns/ws-auth.cc +@@ -49,6 +49,7 @@ + #include "tsigutils.hh" + + using json11::Json; ++using namespace boost::placeholders; + + extern StatBag S; + |