mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
sys-fs/cryfs: patch for boost 1.88
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
parent
a51879c270
commit
c78c0960d4
@ -51,6 +51,9 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
# TODO: upstream:
|
||||
"${FILESDIR}"/cryfs-1.0.1-unbundle-vendored-libs.patch
|
||||
|
||||
# backports
|
||||
"${FILESDIR}"/cryfs-1.0.1-boost-1.88.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
29
sys-fs/cryfs/files/cryfs-1.0.1-boost-1.88.patch
Normal file
29
sys-fs/cryfs/files/cryfs-1.0.1-boost-1.88.patch
Normal file
@ -0,0 +1,29 @@
|
||||
https://github.com/cryfs/cryfs/pull/494
|
||||
https://github.com/cryfs/cryfs/commit/91e2c9b8fd5f7a1b0e57ad1310534606ce70c338
|
||||
|
||||
From 91e2c9b8fd5f7a1b0e57ad1310534606ce70c338 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Cho <michael@michaelcho.dev>
|
||||
Date: Sun, 13 Apr 2025 10:37:29 -0400
|
||||
Subject: [PATCH] Fix building with Boost 1.88
|
||||
|
||||
--- a/src/cpp-utils/process/subprocess.cpp
|
||||
+++ b/src/cpp-utils/process/subprocess.cpp
|
||||
@@ -1,7 +1,18 @@
|
||||
#include "subprocess.h"
|
||||
#include <array>
|
||||
#include <boost/asio.hpp>
|
||||
+#include <boost/version.hpp>
|
||||
+#if BOOST_VERSION < 108800
|
||||
#include <boost/process.hpp>
|
||||
+#else
|
||||
+#define BOOST_PROCESS_VERSION 1
|
||||
+#include <boost/process/v1/args.hpp>
|
||||
+#include <boost/process/v1/async_pipe.hpp>
|
||||
+#include <boost/process/v1/child.hpp>
|
||||
+#include <boost/process/v1/exe.hpp>
|
||||
+#include <boost/process/v1/io.hpp>
|
||||
+#include <boost/process/v1/search_path.hpp>
|
||||
+#endif
|
||||
#include <cerrno>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
Loading…
x
Reference in New Issue
Block a user