gentoo-ebuilds/sys-fs/cryfs/files/cryfs-1.0.1-boost-1.89.patch
Sam James 24515f0803
sys-fs/cryfs: fix build w/ boost-1.89
Closes: https://bugs.gentoo.org/963108
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-19 19:42:08 +01:00

26 lines
1.1 KiB
Diff

https://bugs.gentoo.org/963108
https://github.com/cryfs/cryfs/pull/500
From f2f3c19979545c4789647e648cc1480ce647f42a Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Tue, 12 Aug 2025 17:01:01 -0400
Subject: [PATCH] Fix build with Boost 1.89.0
---
cmake-utils/Dependencies.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake-utils/Dependencies.cmake b/cmake-utils/Dependencies.cmake
index e2325e575..55edf924a 100644
--- a/cmake-utils/Dependencies.cmake
+++ b/cmake-utils/Dependencies.cmake
@@ -7,7 +7,7 @@ target_link_libraries(CryfsDependencies_range-v3 INTERFACE range-v3::range-v3)
set(Boost_USE_STATIC_LIBS OFF)
find_package(Boost 1.84.0
REQUIRED
- COMPONENTS filesystem system thread chrono program_options)
+ COMPONENTS filesystem thread chrono program_options)
add_library(CryfsDependencies_boost INTERFACE)
target_link_libraries(CryfsDependencies_boost INTERFACE Boost::boost Boost::filesystem Boost::thread Boost::chrono Boost::program_options)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")