sys-fs/cryfs: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/890847
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-01-23 02:14:18 +00:00
parent e4dcbf5e60
commit e71067dbad
2 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ PATCHES=(
# TODO upstream:
"${FILESDIR}/${PN}-0.10.2-unbundle-libs.patch"
"${FILESDIR}/${PN}-0.10.2-install-targets.patch"
"${FILESDIR}/${PN}-0.10.3-gcc13.patch"
# From upstream
"${FILESDIR}/${PN}-0.10.3-gcc11.patch"
"${FILESDIR}/${PN}-0.10.3-fix-build-with-boost-1-77.patch"

View File

@@ -0,0 +1,11 @@
https://bugs.gentoo.org/890847
--- a/src/cpp-utils/thread/LeftRight.h
+++ b/src/cpp-utils/thread/LeftRight.h
@@ -2,6 +2,7 @@
#include <functional>
#include <mutex>
#include <thread>
+#include <stdexcept>
#include <cpp-utils/macros.h>
#include <array>