freecad: fix build for boost 1.89 (#493978)

This commit is contained in:
Doron Behar
2026-02-26 15:28:28 +00:00
committed by GitHub
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/cMake/FreeCAD_Helpers/SetupBoost.cmake b/cMake/FreeCAD_Helpers/SetupBoost.cmake
index 0bb1343..1a389bf 100644
--- a/cMake/FreeCAD_Helpers/SetupBoost.cmake
+++ b/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)
+5
View File
@@ -104,6 +104,11 @@ freecad-utils.makeCustomizable (
# https://github.com/FreeCAD/FreeCAD/pull/21710
./0003-FreeCad-fix-font-load-crash.patch
# Fix build for boost 1.89 or later, remove once FreeCad 1.1 is released
# based on https://github.com/FreeCAD/FreeCAD/commit/0f6d00d2a547df0f5c2ba5ef0f79044a49b0a2d
./0004-FreeCad-fix-boost-189-build.patch
(fetchpatch {
url = "https://github.com/FreeCAD/FreeCAD/commit/8e04c0a3dd9435df0c2dec813b17d02f7b723b19.patch?full_index=1";
hash = "sha256-H6WbJFTY5/IqEdoi5N+7D4A6pVAmZR4D+SqDglwS18c=";