summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-23 02:14:18 +0000
committerSam James <sam@gentoo.org>2023-01-23 02:32:51 +0000
commite71067dbade539090be50e3ddfc9fac889efc34e (patch)
tree1f8133e0d1b2800aede6dcc680078ebcff28026c /sys-fs
parentgames-strategy/s25rttr: fix build w/ gcc 13 (diff)
downloadgentoo-e71067dbade539090be50e3ddfc9fac889efc34e.tar.gz
gentoo-e71067dbade539090be50e3ddfc9fac889efc34e.tar.bz2
gentoo-e71067dbade539090be50e3ddfc9fac889efc34e.zip
sys-fs/cryfs: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/890847 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/cryfs/cryfs-0.10.3-r1.ebuild1
-rw-r--r--sys-fs/cryfs/files/cryfs-0.10.3-gcc13.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/cryfs/cryfs-0.10.3-r1.ebuild b/sys-fs/cryfs/cryfs-0.10.3-r1.ebuild
index 6416dfd23725..e3ce120c5ff7 100644
--- a/sys-fs/cryfs/cryfs-0.10.3-r1.ebuild
+++ b/sys-fs/cryfs/cryfs-0.10.3-r1.ebuild
@@ -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"
diff --git a/sys-fs/cryfs/files/cryfs-0.10.3-gcc13.patch b/sys-fs/cryfs/files/cryfs-0.10.3-gcc13.patch
new file mode 100644
index 000000000000..33b6e95d1cea
--- /dev/null
+++ b/sys-fs/cryfs/files/cryfs-0.10.3-gcc13.patch
@@ -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>
+