summaryrefslogtreecommitdiff
path: root/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch')
-rw-r--r--net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch b/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
new file mode 100644
index 000000000000..0e440020541f
--- /dev/null
+++ b/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
@@ -0,0 +1,26 @@
+From 42cec1e5948e828fb2b941107c4fce9ec847f9a8 Mon Sep 17 00:00:00 2001
+From: Peter van Dijk <peter.van.dijk@powerdns.com>
+Date: Fri, 23 Apr 2021 15:40:43 +0200
+Subject: [PATCH] boost 1.76 containers: use standard exceptions
+
+(cherry picked from commit 311f26839819062ced8697686372b6c6b2210bdf)
+---
+ pdns/Makefile.am | 3 ++-
+ pdns/dnsdistdist/Makefile.am | 2 +-
+ pdns/recursordist/Makefile.am | 3 ++-
+ 3 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/pdns/Makefile.am b/pdns/Makefile.am
+index 237a48f501f..f073f052600 100644
+--- a/pdns/Makefile.am
++++ b/pdns/Makefile.am
+@@ -6,7 +6,8 @@ AM_CPPFLAGS += \
+ $(LIBEDIT_CFLAGS) \
+ $(LIBCRYPTO_INCLUDES) \
+ $(SYSTEMD_CFLAGS) \
+- $(YAML_CFLAGS)
++ $(YAML_CFLAGS) \
++ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS
+
+ AM_CXXFLAGS = \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \