commit:     d9ff8f9b7363aee509e561b39b8fb99c6ce4de97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 13 18:29:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 18:33:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ff8f9b

sys-fs/cryfs: fix build with Boost 1.77

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/cryfs/cryfs-0.10.3.ebuild                   |  1 +
 .../cryfs-0.10.3-fix-build-with-boost-1-77.patch   | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/sys-fs/cryfs/cryfs-0.10.3.ebuild b/sys-fs/cryfs/cryfs-0.10.3.ebuild
index 05cf0d45dc4..dbd42c68d85 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 00000000000..a9252e729fb
--- /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 <[email protected]>
+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
+

Reply via email to