summaryrefslogtreecommitdiff
path: root/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
blob: 0e440020541f6452a27744f47208897534958e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)\" \