diff options
author | Sven Wegener <swegener@gentoo.org> | 2023-02-16 22:08:39 +0100 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2023-02-16 22:19:43 +0100 |
commit | 3e1de490b4309384543bf177e93b062f2756bad0 (patch) | |
tree | cb6383337185c2a67bdf3aa9cf42b8e38d8defa7 /net-dns/pdns | |
parent | app-misc/broot: drop 1.16.2, 1.18.0 (diff) | |
download | gentoo-3e1de490b4309384543bf177e93b062f2756bad0.tar.gz gentoo-3e1de490b4309384543bf177e93b062f2756bad0.tar.bz2 gentoo-3e1de490b4309384543bf177e93b062f2756bad0.zip |
net-dns/pdns: Fix building with gcc-13, bug #894618
Closes: https://bugs.gentoo.org/894618
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'net-dns/pdns')
-rw-r--r-- | net-dns/pdns/files/pdns-4.7.3-gcc-13.patch | 18 | ||||
-rw-r--r-- | net-dns/pdns/pdns-4.7.3.ebuild | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-dns/pdns/files/pdns-4.7.3-gcc-13.patch b/net-dns/pdns/files/pdns-4.7.3-gcc-13.patch new file mode 100644 index 000000000000..79e705a63379 --- /dev/null +++ b/net-dns/pdns/files/pdns-4.7.3-gcc-13.patch @@ -0,0 +1,18 @@ +commit d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 +Author: Peter van Dijk <peter.van.dijk@powerdns.com> +Date: Mon Jan 23 14:54:09 2023 +0100 + + lock.hh: include <stdexcept> + +diff --git a/pdns/lock.hh b/pdns/lock.hh +index e8bd82988..a08951a26 100644 +--- a/pdns/lock.hh ++++ b/pdns/lock.hh +@@ -22,6 +22,7 @@ + #pragma once + #include <mutex> + #include <shared_mutex> ++#include <stdexcept> + + /* + This file provides several features around locks: diff --git a/net-dns/pdns/pdns-4.7.3.ebuild b/net-dns/pdns/pdns-4.7.3.ebuild index f7d8c8a36691..e1d415a07d5f 100644 --- a/net-dns/pdns/pdns-4.7.3.ebuild +++ b/net-dns/pdns/pdns-4.7.3.ebuild @@ -48,6 +48,10 @@ BDEPEND="virtual/pkgconfig S="${WORKDIR}"/${P/_/-} +PATCHES=( + "${FILESDIR}"/${P}-gcc-13.patch +) + pkg_setup() { lua-single_pkg_setup append-lfs-flags |