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) +