From 00b32cc4025e2dfe94ff5a18d2b3b60a0756bc6f Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 11 May 2026 17:25:20 +0000 Subject: [PATCH] freecad: pull in upstream patch to fix build with Boost 1.91 --- .../patch-cMake_FreeCAD_Helpers_SetupBoost_cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cad/freecad/patches/patch-cMake_FreeCAD_Helpers_SetupBoost_cmake diff --git a/cad/freecad/patches/patch-cMake_FreeCAD_Helpers_SetupBoost_cmake b/cad/freecad/patches/patch-cMake_FreeCAD_Helpers_SetupBoost_cmake new file mode 100644 index 00000000000..b57093bd7b9 --- /dev/null +++ b/cad/freecad/patches/patch-cMake_FreeCAD_Helpers_SetupBoost_cmake @@ -0,0 +1,16 @@ +Fix build with boost 1.91 + +https://github.com/FreeCAD/FreeCAD/commit/0f6d00d2a547df0f5c2ba5ef0f79044a49b0a2da + +Index: cMake/FreeCAD_Helpers/SetupBoost.cmake +--- cMake/FreeCAD_Helpers/SetupBoost.cmake.orig ++++ cMake/FreeCAD_Helpers/SetupBoost.cmake +@@ -3,7 +3,7 @@ macro(SetupBoost) + + set(_boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS}) + +- set (BOOST_COMPONENTS filesystem program_options regex system thread date_time) ++ set (BOOST_COMPONENTS filesystem program_options regex thread date_time) + find_package(Boost ${BOOST_MIN_VERSION} + COMPONENTS ${BOOST_COMPONENTS} REQUIRED) +