Bug 296491 - cad/freecad: fix with OpenCascade 8.0.0
Summary: cad/freecad: fix with OpenCascade 8.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Christoph Moench-Tegeder
URL: https://github.com/FreeCAD/FreeCAD/pu...
Keywords:
Depends on:
Blocks: 295909
  Show dependency treegraph
 
Reported: 2026-07-03 09:46 UTC by Thierry Thomas
Modified: 2026-07-19 17:39 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (cmt)


Attachments
Fix cad/freecad with OCCT-8 (200.01 KB, patch)
2026-07-03 09:46 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2026-07-03 09:46:23 UTC
Created attachment 272436 [details]
Fix cad/freecad with OCCT-8

I hoped that FreeCAD would release a version supporting OCCT-8, but they did not yet (cad/freecad-devel is ready).

The attached patch fixes cad/freecad with patches taken from upstream
https://github.com/FreeCAD/FreeCAD/pull/25502 .
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-07-19 17:39:01 UTC
Just committed!
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-07-19 17:39:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02a0f04f8c5bd62c66bb7618728b1fa247805594

commit 02a0f04f8c5bd62c66bb7618728b1fa247805594
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-07-03 09:32:40 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-19 17:37:44 +0000

    cad/freecad: fix with OpenCascade 8.0.0

    Patches taken from upstream
    https://github.com/FreeCAD/FreeCAD/pull/25502

    PR:             296491
    Approved by:    time-out

 cad/freecad/Makefile                               |   1 +
 ...patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake} |   4 +-
 ...ty_salomesmesh_inc_SMESH__ControlsDef.hxx (new) |  15 +
 ...rty_salomesmesh_inc_SMESH__MeshVSLink.hxx (new) |  11 +
 ...rdParty_salomesmesh_inc_SMESH__Octree.hxx (new) |  15 +
 ...Party_salomesmesh_inc_SMESH__Quadtree.hxx (new) |  15 +
 ...Party_salomesmesh_inc_SMESH__TryCatch.hxx (new) |  57 +++
 ...omesmesh_inc_StdMeshers__Distribution.hxx (new) |  26 ++
 ...esmesh_inc_StdMeshers__Quadrangle__2D.hxx (new) |  15 +
 ...omesmesh_src_Controls_SMESH__Controls.cpp (new) |  10 +
 ...rc_DriverSTL_DriverSTL__R__SMDS__Mesh.cpp (new) | 158 ++++++++
 ...src_NETGENPlugin_NETGENPlugin__Mesher.cpp (new) |  15 +
 ...Party_salomesmesh_src_SMESH_GEOMUtils.cpp (new) |  77 ++++
 ...rty_salomesmesh_src_SMESH_SMESH__Algo.cpp (new) |  10 +
 ...ty_salomesmesh_src_SMESH_SMESH__Block.cpp (new) |  23 ++
 ...rty_salomesmesh_src_SMESH_SMESH__Mesh.cpp (new) |  19 +
 ...lomesmesh_src_SMESH_SMESH__MeshEditor.cpp (new) |  10 +
 ...mesmesh_src_SMESH_SMESH__MesherHelper.cpp (new) |  12 +
 ..._salomesmesh_src_SMESH_SMESH__Pattern.cpp (new) |  12 +
 ...alomesmesh_src_SMESH_SMESH__ProxyMesh.cpp (new) |  11 +
 ..._salomesmesh_src_SMESH_SMESH__subMesh.cpp (new) |  25 ++
 ...lomesmesh_src_StdMeshers_SMESH__MAT2d.cpp (new) |  15 +
 ...src_StdMeshers_StdMeshers__Adaptive1D.cpp (new) |  49 +++
 ...ers_StdMeshers__CartesianParameters3D.cpp (new) |  10 +
 ..._StdMeshers_StdMeshers__Cartesian__3D.cpp (new) |  27 ++
 ...Meshers_StdMeshers__CompositeHexa__3D.cpp (new) |  10 +
 ...hers_StdMeshers__CompositeSegment__1D.cpp (new) |  10 +
 ...c_StdMeshers_StdMeshers__Import__1D2D.cpp (new) |  15 +
 ...rc_StdMeshers_StdMeshers__MEFISTO__2D.cpp (new) |  10 +
 ...dMeshers_StdMeshers__NumberOfSegments.cpp (new) |  23 ++
 ..._src_StdMeshers_StdMeshers__Penta__3D.cpp (new) |  10 +
 ..._src_StdMeshers_StdMeshers__Prism__3D.cpp (new) |  22 ++
 ...tdMeshers_StdMeshers__ProjectionUtils.cpp (new) |  16 +
 ...StdMeshers_StdMeshers__Projection__1D.cpp (new) |  10 +
 ...StdMeshers_StdMeshers__Projection__2D.cpp (new) |  21 ++
 ...rc_StdMeshers_StdMeshers__Propagation.cpp (new) |  10 +
 ...StdMeshers_StdMeshers__Quadrangle__2D.cpp (new) |  10 +
 ...tdMeshers_StdMeshers__RadialPrism__3D.cpp (new) |  10 +
 ...rs_StdMeshers__RadialQuadrangle__1D2D.cpp (new) |  10 +
 ...rc_StdMeshers_StdMeshers__Regular__1D.cpp (new) |  10 +
 ..._StdMeshers_StdMeshers__ViscousLayers.cpp (new) |  16 +
 ...tdMeshers_StdMeshers__ViscousLayers2D.cpp (new) |  25 ++
 cad/freecad/files/patch-src_Gui_CMakeLists.txt     |   6 +-
 .../files/patch-src_Mod_CAM_App_Area.cpp (new)     |  11 +
 .../patch-src_Mod_Import_App_ImportOCAF2.cpp (new) |  10 +
 .../patch-src_Mod_Import_App_ImportOCAF2.h (new)   |  10 +
 .../patch-src_Mod_Import_App_StepShape.cpp (new)   |  10 +
 ...atch-src_Mod_Import_App_dxf_ImpExpDxf.cpp (new) |  12 +
 .../patch-src_Mod_Import_Gui_OCAFBrowser.cpp (new) |  10 +
 ..._Mod_Inspection_App_InspectionFeature.cpp (new) |  10 +
 ...Mod_PartDesign_App_FeatureTransformed.cpp (new) |  11 +
 .../patch-src_Mod_Part_App_AppPartPy.cpp (new)     |  20 +
 ..._Mod_Part_App_BRepFeat_MakePrismPyImp.cpp (new) |  10 +
 ...Part_App_BRepOffsetAPI__MakeOffsetFix.cpp (new) |  10 +
 ...App_BRepOffsetAPI__MakePipeShellPyImp.cpp (new) |  10 +
 ...ch-src_Mod_Part_App_BSplineCurvePyImp.cpp (new) | 181 +++++++++
 ...-src_Mod_Part_App_BSplineSurfacePyImp.cpp (new) | 135 +++++++
 ...tch-src_Mod_Part_App_BezierCurvePyImp.cpp (new) |  48 +++
 ...atch-src_Mod_Part_App_ExtrusionHelper.cpp (new) | 117 ++++++
 ...t_App_FCBRepAlgoAPI__BooleanOperation.cpp (new) |  20 +
 ...art_App_FCBRepAlgoAPI__BooleanOperation.h (new) |  10 +
 ...c_Mod_Part_App_FCBRepAlgoAPI__Section.cpp (new) |  24 ++
 ...atch-src_Mod_Part_App_FaceMakerCheese.cpp (new) |  20 +
 ...tch-src_Mod_Part_App_FeatureExtrusion.cpp (new) |  20 +
 ...tch-src_Mod_Part_App_FeatureMirroring.cpp (new) |  11 +
 ..._Mod_Part_App_FeatureProjectOnSurface.cpp (new) |  10 +
 ...d_Part_App_Geom2d_BSplineCurve2dPyImp.cpp (new) | 142 ++++++++
 ...-src_Mod_Part_App_Geom2d_Curve2dPyImp.cpp (new) |  80 ++++
 ...h-src_Mod_Part_App_Geom2d_Line2dPyImp.cpp (new) |  11 +
 ...od_Part_App_Geom2d_Line2dSegmentPyImp.cpp (new) |  29 ++
 ..._App_GeomPlate_BuildPlateSurfacePyImp.cpp (new) |  13 +
 .../patch-src_Mod_Part_App_Geometry.cpp (new)      | 101 ++++++
 .../patch-src_Mod_Part_App_Geometry2d.cpp (new)    | 174 +++++++++
 ...src_Mod_Part_App_GeometrySurfacePyImp.cpp (new) |  11 +
 .../patch-src_Mod_Part_App_LinePyImp.cpp (new)     |  11 +
 ...tch-src_Mod_Part_App_LineSegmentPyImp.cpp (new) |  29 ++
 .../patch-src_Mod_Part_App_PartFeature.cpp (new)   |  46 +++
 .../patch-src_Mod_Part_App_PartFeatures.cpp (new)  |  12 +
 ...tch-src_Mod_Part_App_PrimitiveFeature.cpp (new) |  25 ++
 ...ch-src_Mod_Part_App_PropertyTopoShape.cpp (new) |  10 +
 ...Part_App_ShapeFix_ShapeFix__FacePyImp.cpp (new) |  10 +
 ...App_ShapeUpgrade_UnifySameDomainPyImp.cpp (new) |  10 +
 .../files/patch-src_Mod_Part_App_Tools.cpp (new)   |  39 ++
 .../patch-src_Mod_Part_App_TopoShape.cpp (new)     | 403 +++++++++++++++++++++
 .../patch-src_Mod_Part_App_TopoShapeCache.h (new)  |  12 +
 ..._Mod_Part_App_TopoShapeCompSolidPyImp.cpp (new) |  11 +
 ...h-src_Mod_Part_App_TopoShapeEdgePyImp.cpp (new) |  29 ++
 ...h-src_Mod_Part_App_TopoShapeExpansion.cpp (new) |  32 ++
 ...h-src_Mod_Part_App_TopoShapeFacePyImp.cpp (new) |  98 +++++
 ...patch-src_Mod_Part_App_TopoShapePyImp.cpp (new) |  23 ++
 ...-src_Mod_Part_App_TopoShapeShellPyImp.cpp (new) |  11 +
 .../patch-src_Mod_Part_App_WireJoiner.cpp (new)    |  12 +
 .../patch-src_Mod_Part_App_modelRefine.cpp (new)   |  44 +++
 ...c_Mod_Part_Gui_DlgProjectionOnSurface.cpp (new) |  11 +
 ...ch-src_Mod_Part_Gui_TaskCheckGeometry.cpp (new) |  11 +
 ...Engineering_App_AppReverseEngineering.cpp (new) |  22 ++
 ..._ReverseEngineering_App_ApproxSurface.cpp (new) |  47 +++
 ...od_Sketcher_Gui_DrawSketchHandlerOffset.h (new) |  10 +
 ...c_Mod_Surface_App_Blending_BlendCurve.cpp (new) |  30 ++
 ...ch-src_Mod_Surface_App_FeatureFilling.cpp (new) |  66 ++++
 ...od_Surface_App_FeatureGeomFillSurface.cpp (new) |  93 +++++
 ...h-src_Mod_Surface_App_FeatureSections.cpp (new) |  10 +
 ...tch-src_Mod_Surface_App_FeatureSewing.cpp (new) |  11 +
 ...patch-src_Mod_Surface_Gui_TaskFilling.cpp (new) |  10 +
 ...h-src_Mod_Surface_Gui_TaskFillingEdge.cpp (new) |  10 +
 ...c_Mod_TechDraw_App_DrawComplexSection.cpp (new) |  10 +
 ...src_Mod_TechDraw_App_DrawProjectSplit.cpp (new) |  21 ++
 .../patch-src_Mod_TechDraw_App_DrawUtil.cpp (new)  |  32 ++
 ...rc_Mod_TechDraw_App_DrawViewDimension.cpp (new) |  10 +
 .../patch-src_Mod_TechDraw_App_Geometry.cpp (new)  |  21 ++
 ...h-src_Mod_TechDraw_App_GeometryObject.cpp (new) |  10 +
 ...patch-src_Mod_TechDraw_App_ShapeUtils.cpp (new) |  10 +
 ...h-src_Mod_TechDraw_App_TechDrawExport.cpp (new) |  85 +++++
 ...atch-src_Mod_TechDraw_Gui_CommandCreateDims.cpp |  14 +-
 ...s_src_Mod_Part_App_TopoShapeExpansion.cpp (new) |  17 +
 115 files changed, 3590 insertions(+), 15 deletions(-)