summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-13 19:29:44 +0100
committerSam James <sam@gentoo.org>2021-08-13 19:33:28 +0100
commitd9ff8f9b7363aee509e561b39b8fb99c6ce4de97 (patch)
treee9505416a5c59f1e4de43322c72d75d7c71c4afa /sys-fs/cryfs
parentnet-libs/nodejs: add 12.22.5, drop 12.22.4 (diff)
downloadgentoo-d9ff8f9b7363aee509e561b39b8fb99c6ce4de97.tar.gz
gentoo-d9ff8f9b7363aee509e561b39b8fb99c6ce4de97.tar.bz2
gentoo-d9ff8f9b7363aee509e561b39b8fb99c6ce4de97.zip
sys-fs/cryfs: fix build with Boost 1.77
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/cryfs')
-rw-r--r--sys-fs/cryfs/cryfs-0.10.3.ebuild1
-rw-r--r--sys-fs/cryfs/files/cryfs-0.10.3-fix-build-with-boost-1-77.patch26
2 files changed, 27 insertions, 0 deletions
diff --git a/sys-fs/cryfs/cryfs-0.10.3.ebuild b/sys-fs/cryfs/cryfs-0.10.3.ebuild
index 05cf0d45dc4f..dbd42c68d851 100644
--- a/sys-fs/cryfs/cryfs-0.10.3.ebuild
+++ b/sys-fs/cryfs/cryfs-0.10.3.ebuild
@@ -41,6 +41,7 @@ PATCHES=(
"${FILESDIR}/${PN}-0.10.2-install-targets.patch"
# From upstream
"${FILESDIR}/${PN}-0.10.3-gcc11.patch"
+ "${FILESDIR}/${PN}-0.10.3-fix-build-with-boost-1-77.patch"
)
pkg_setup() {
diff --git a/sys-fs/cryfs/files/cryfs-0.10.3-fix-build-with-boost-1-77.patch b/sys-fs/cryfs/files/cryfs-0.10.3-fix-build-with-boost-1-77.patch
new file mode 100644
index 000000000000..a9252e729fb6
--- /dev/null
+++ b/sys-fs/cryfs/files/cryfs-0.10.3-fix-build-with-boost-1-77.patch
@@ -0,0 +1,26 @@
+https://github.com/cryfs/cryfs/pull/395
+
+From dcc072d51d0bbb56c9d8709214ce49f8bd6de73c Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Fri, 13 Aug 2021 18:46:55 +0100
+Subject: [PATCH] Add missing memory.h include for std::shared_ptr
+
+---
+ src/fspp/fuse/Fuse.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/fspp/fuse/Fuse.h b/src/fspp/fuse/Fuse.h
+index 0b384d8..2ed98da 100644
+--- a/src/fspp/fuse/Fuse.h
++++ b/src/fspp/fuse/Fuse.h
+@@ -11,6 +11,7 @@
+ #include <boost/optional.hpp>
+ #include <cpp-utils/macros.h>
+ #include <atomic>
++#include <memory>
+ #include "stat_compatibility.h"
+
+ namespace fspp {
+--
+2.32.0
+