net-dns/pdns-recursor: Fix building with gcc-13, bug #894618

Closes: https://bugs.gentoo.org/894618
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
Sven Wegener
2023-02-16 22:09:23 +01:00
parent 3e1de490b4
commit aea82df28d
2 changed files with 22 additions and 0 deletions

View File

@@ -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/lock.hh b/lock.hh
index e8bd82988..a08951a26 100644
--- a/lock.hh
+++ b/lock.hh
@@ -22,6 +22,7 @@
#pragma once
#include <mutex>
#include <shared_mutex>
+#include <stdexcept>
/*
This file provides several features around locks:

View File

@@ -37,6 +37,10 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${P/_/-}
PATCHES=(
"${FILESDIR}"/${P}-gcc-13.patch
)
pkg_setup() {
lua-single_pkg_setup
filter-flags -ftree-vectorize