gentoo-ebuilds/dev-cpp/mvfst/files/mvfst-2025.04.14.00-boost-1.89.patch
Sam James 96b387a0f8
dev-cpp/mvfst: fix build w/ boost-1.89
Choose the hack approach and require >=1.71.

Closes: https://bugs.gentoo.org/962946
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-17 04:08:47 +01:00

23 lines
746 B
Diff

https://bugs.gentoo.org/962946
https://github.com/facebook/folly/issues/2489
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,7 +44,6 @@ set(QUIC_FBCODE_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
find_package(Boost 1.62
REQUIRED COMPONENTS
iostreams
- system
thread
filesystem
regex
--- a/cmake/mvfst-config.cmake.in
+++ b/cmake/mvfst-config.cmake.in
@@ -20,7 +20,7 @@ include(CMakeFindDependencyMacro)
find_dependency(folly)
find_dependency(Fizz)
find_dependency(Threads)
-find_dependency(Boost COMPONENTS iostreams system thread filesystem regex context)
+find_dependency(Boost COMPONENTS iostreams thread filesystem regex context)
if(NOT TARGET mvfst::mvfst_transport)
include("${CMAKE_CURRENT_LIST_DIR}/mvfst-targets.cmake")