commit: 1375a05c4d7fc4b03d64c7488782327f627fd829 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Jan 20 16:16:10 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jan 20 17:19:36 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1375a05c
media-gfx/freecad: Fix build w/ boost-1.89 Closes: https://bugs.gentoo.org/969041 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../freecad/files/freecad-1.0.2-boost-1.89.patch | 23 ++++++++++++++++++++++ media-gfx/freecad/freecad-1.0.2-r2.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/media-gfx/freecad/files/freecad-1.0.2-boost-1.89.patch b/media-gfx/freecad/files/freecad-1.0.2-boost-1.89.patch new file mode 100644 index 000000000000..e4f9f1114f7e --- /dev/null +++ b/media-gfx/freecad/files/freecad-1.0.2-boost-1.89.patch @@ -0,0 +1,23 @@ +From 0f6d00d2a547df0f5c2ba5ef0f79044a49b0a2da Mon Sep 17 00:00:00 2001 +From: chris <[email protected]> +Date: Sat, 20 Sep 2025 16:08:34 -0500 +Subject: [PATCH] fix issue #23829 build with boost v1.89 and greater + +* asturm 2026-01-20: backported to 1.0.2 +--- + cMake/FreeCAD_Helpers/SetupBoost.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cMake/FreeCAD_Helpers/SetupBoost.cmake b/cMake/FreeCAD_Helpers/SetupBoost.cmake +index 4e07e2e7c04c..45538b676231 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) + diff --git a/media-gfx/freecad/freecad-1.0.2-r2.ebuild b/media-gfx/freecad/freecad-1.0.2-r2.ebuild index b3bade4abff2..67bb8c88433f 100644 --- a/media-gfx/freecad/freecad-1.0.2-r2.ebuild +++ b/media-gfx/freecad/freecad-1.0.2-r2.ebuild @@ -142,6 +142,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.2-pybind11-latent-slots-macro-conflicts-with-Qt.patch" # fixed in pybind-3.0.1 "${DISTDIR}/${PN}-20710.patch" # DESTDIR in env "${DISTDIR}/${PN}-21433.patch" # FindHDF5 fails to find HDF5 after a failing pkg_search_module + "${FILESDIR}"/${P}-boost-1.89.patch # bug 969041 ) DOCS=( CODE_OF_CONDUCT.md README.md )
