You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch

27 lines
830 B

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)\" \