mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
29 lines
925 B
Diff
29 lines
925 B
Diff
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>
|