git: fa376ba9cc9c - main - cad/opencascade: upgrade to V8.0.1

Thierry Thomas <[email protected]> Sun, 02 Aug 2026 16:09:08 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by thierry:

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

commit fa376ba9cc9c732494951bb5532fcea5e4992c5f
Author:     Thierry Thomas <[email protected]>
AuthorDate: 2026-08-02 10:15:52 +0000
Commit:     Thierry Thomas <[email protected]>
CommitDate: 2026-08-02 15:17:48 +0000

    cad/opencascade: upgrade to V8.0.1
    
    Release notes at
            https://github.com/Open-Cascade-SAS/OCCT/releases#release-V8.0.1
---
 cad/opencascade/Makefile                           |  2 +-
 cad/opencascade/distinfo                           |  6 +--
 ...P_STEPConstruct_STEPConstruct__AP203Context.cxx | 58 ----------------------
 cad/opencascade/pkg-plist                          | 51 ++++++++++++-------
 4 files changed, 38 insertions(+), 79 deletions(-)

diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index b56b9f529eb2..34c388567b5e 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opencascade
 DISTVERSIONPREFIX=	V
-DISTVERSION=	8_0_0
+DISTVERSION=	8_0_1
 CATEGORIES=	cad science
 DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}
 
diff --git a/cad/opencascade/distinfo b/cad/opencascade/distinfo
index b558c22f8694..976a410aedc9 100644
--- a/cad/opencascade/distinfo
+++ b/cad/opencascade/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778172895
-SHA256 (opencascade-8_0_0/Open-Cascade-SAS-OCCT-V8_0_0_GH0.tar.gz) = 118398ff8a010c2cb693450d7e5e2690533c88208fc25bd2730451ec4fab0a0f
-SIZE (opencascade-8_0_0/Open-Cascade-SAS-OCCT-V8_0_0_GH0.tar.gz) = 44992697
+TIMESTAMP = 1785661227
+SHA256 (opencascade-8_0_1/Open-Cascade-SAS-OCCT-V8_0_1_GH0.tar.gz) = 0d6913eae4bcc09a3653ceced6dda1aec11c35a1513d4c06762c9b002092c68a
+SIZE (opencascade-8_0_1/Open-Cascade-SAS-OCCT-V8_0_1_GH0.tar.gz) = 45130339
diff --git a/cad/opencascade/files/patch-src_DataExchange_TKDESTEP_STEPConstruct_STEPConstruct__AP203Context.cxx b/cad/opencascade/files/patch-src_DataExchange_TKDESTEP_STEPConstruct_STEPConstruct__AP203Context.cxx
deleted file mode 100644
index e448f20b8ba1..000000000000
--- a/cad/opencascade/files/patch-src_DataExchange_TKDESTEP_STEPConstruct_STEPConstruct__AP203Context.cxx
+++ /dev/null
@@ -1,58 +0,0 @@
-commit 8a3f204601ddb1cc6063236f53f07e8bf19d9e63
-Author: Christoph Moench-Tegeder <[email protected]>
-Date:   Mon Jun 15 20:51:37 2026 +0200
-
-    Data Exchange - on FreeBSD, check for standard-conforming timezone variable (#1277)
-    
-    On FreeBSD, "timezone" from time.h only recently started following the
-    POSIX/XSI standard. Before that switch, timezone used to be the
-    historical BSD function "char *timezone(int, int)", which is
-    obviously not what the code here expects.
-    
-    For older FreeBSDs, provide a workaround using time() and localtime().
-    
-    The closest __FreeBSD_version increment I could find is 1500019,
-    compare
-    https://cgit.freebsd.org/src/commit/include/time.h?id=a34940a9756ac8edce36fec176949ee82e9235b4
-    and
-    https://docs.freebsd.org/en/books/porters-handbook/versions/#versions-15
-    
-    See https://pubs.opengroup.org/onlinepubs/9799919799/ for official
-    POSIX documentation, especially
-    - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/time.h.html
-      for time.h
-    - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap02.html#tag_02_01_04
-      for X/Open System Interfaces (XSI)
-    and also FreeBSD man pages (especially the difference between versions)
-    - https://man.freebsd.org/cgi/man.cgi?query=tzset&apropos=0&sektion=0&manpath=FreeBSD+14.4-STABLE&format=html
-    - https://man.freebsd.org/cgi/man.cgi?query=tzset&apropos=0&sektion=0&manpath=FreeBSD+15.0-STABLE&format=html
-    
-    CLA: 1143
-
-diff --git src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx
-index e63c9c9710..ad7ce1c097 100644
---- src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx
-+++ src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx
-@@ -64,6 +64,11 @@
-   #include <pwd.h>
- #endif
- 
-+// needed for timezone XSI compatibility check
-+#if defined(__FreeBSD__)
-+  #include <sys/param.h>
-+#endif
-+
- //=================================================================================================
- 
- STEPConstruct_AP203Context::STEPConstruct_AP203Context()
-@@ -112,6 +117,10 @@ occ::handle<StepBasic_DateAndTime> STEPConstruct_AP203Context::DefaultDateAndTim
- #if defined(_MSC_VER) && _MSC_VER >= 1600
-     long shift = 0;
-     _get_timezone(&shift);
-+#elif defined(__FreeBSD__) && __FreeBSD_version < 1500019
-+    time_t     time_clock  = time(NULL);
-+    struct tm* time_struct = localtime(&time_clock);
-+    int        shift       = int(time_struct->tm_gmtoff);
- #else
-     int shift = int(timezone);
- #endif
diff --git a/cad/opencascade/pkg-plist b/cad/opencascade/pkg-plist
index d872ea550beb..c0dd01318d05 100644
--- a/cad/opencascade/pkg-plist
+++ b/cad/opencascade/pkg-plist
@@ -231,8 +231,8 @@
 %%OCCROOT%%/resources/samples/tcl/spheres.tcl
 %%OCCROOT%%/resources/samples/tcl/vis_pbr_spheres.tcl
 %%OCCROOT%%/resources/samples/tcl/xde.tcl
-%%DOXYGEN%%%%OCCROOT%%/%%DOCSDIR%%/LICENSE_LGPL_21.txt
-%%DOXYGEN%%%%OCCROOT%%/%%DOCSDIR%%/OCCT_LGPL_EXCEPTION.txt
+%%DOCS%%%%OCCROOT%%/%%DOCSDIR%%/LICENSE_LGPL_21.txt
+%%DOCS%%%%OCCROOT%%/%%DOCSDIR%%/OCCT_LGPL_EXCEPTION.txt
 %%DOXYGEN%%%%OCCROOT%%/%%DOCSDIR%%/overview/Doxyfile
 %%DOXYGEN%%%%OCCROOT%%/%%DOCSDIR%%/overview/html/0001.png
 %%DOXYGEN%%%%OCCROOT%%/%%DOCSDIR%%/overview/html/0002.png
@@ -5673,6 +5673,7 @@
 %%OCCROOT%%/tests/bugs/fclasses/bug11568_2
 %%OCCROOT%%/tests/bugs/fclasses/bug11568_3
 %%OCCROOT%%/tests/bugs/fclasses/bug11568_4
+%%OCCROOT%%/tests/bugs/fclasses/bug1281
 %%OCCROOT%%/tests/bugs/fclasses/bug22125
 %%OCCROOT%%/tests/bugs/fclasses/bug23192_1
 %%OCCROOT%%/tests/bugs/fclasses/bug23192_2
@@ -16772,6 +16773,7 @@
 %%OCCROOT%%/tests/opengl/data/shading/phong_pos4
 %%OCCROOT%%/tests/opengl/data/shading/phong_spot1
 %%OCCROOT%%/tests/opengl/data/shading/vert_color
+%%OCCROOT%%/tests/opengl/data/shading/vert_color_back_faces
 %%OCCROOT%%/tests/opengl/data/shadows/buggy
 %%OCCROOT%%/tests/opengl/data/shadows/dir1
 %%OCCROOT%%/tests/opengl/data/shadows/dir2
@@ -18931,8 +18933,10 @@
 %%OCCROOT%%/tests/v3d/grid/circ_gpu
 %%OCCROOT%%/tests/v3d/grid/gpu_options
 %%OCCROOT%%/tests/v3d/grid/gpu_pan
+%%OCCROOT%%/tests/v3d/grid/gpu_perspective_nomirror
 %%OCCROOT%%/tests/v3d/grid/gpu_plane
 %%OCCROOT%%/tests/v3d/grid/gpu_rotate
+%%OCCROOT%%/tests/v3d/grid/gpu_visibility
 %%OCCROOT%%/tests/v3d/grid/mode_switch
 %%OCCROOT%%/tests/v3d/grid/ortho
 %%OCCROOT%%/tests/v3d/grid/persp
@@ -20018,7 +20022,6 @@ include/OpenCASCADE/ApproxInt_MultiLineTool.lxx
 include/OpenCASCADE/ApproxInt_SvSurfaces.hxx
 include/OpenCASCADE/Approx_Array1OfAdHSurface.hxx
 include/OpenCASCADE/Approx_Array1OfGTrsf2d.hxx
-include/OpenCASCADE/Approx_BSplineApproxInterp.hxx
 include/OpenCASCADE/Approx_Curve2d.hxx
 include/OpenCASCADE/Approx_Curve3d.hxx
 include/OpenCASCADE/Approx_CurveOnSurface.hxx
@@ -20504,57 +20507,66 @@ include/OpenCASCADE/BRepGProp_UFunction.lxx
 include/OpenCASCADE/BRepGProp_Vinert.hxx
 include/OpenCASCADE/BRepGProp_VinertGK.hxx
 include/OpenCASCADE/BRepGraph.hxx
+include/OpenCASCADE/BRepGraphInc_BitFlags.hxx
 include/OpenCASCADE/BRepGraphInc_Definition.hxx
 include/OpenCASCADE/BRepGraphInc_Instance.hxx
+include/OpenCASCADE/BRepGraphInc_Load.hxx
+include/OpenCASCADE/BRepGraphInc_ParityOrientation.hxx
 include/OpenCASCADE/BRepGraphInc_Populate.hxx
 include/OpenCASCADE/BRepGraphInc_Reconstruct.hxx
 include/OpenCASCADE/BRepGraphInc_Reference.hxx
+include/OpenCASCADE/BRepGraphInc_Relations.hxx
+include/OpenCASCADE/BRepGraphInc_RepId.hxx
 include/OpenCASCADE/BRepGraphInc_Representation.hxx
-include/OpenCASCADE/BRepGraphInc_ReverseIndex.hxx
 include/OpenCASCADE/BRepGraphInc_Storage.hxx
-include/OpenCASCADE/BRepGraph_Builder.hxx
-include/OpenCASCADE/BRepGraph_CacheKindIterator.hxx
-include/OpenCASCADE/BRepGraph_CacheView.hxx
+include/OpenCASCADE/BRepGraphInc_Storage.lxx
+include/OpenCASCADE/BRepGraph_Cache.hxx
+include/OpenCASCADE/BRepGraph_CacheDerivedState.hxx
+include/OpenCASCADE/BRepGraph_CacheIterator.hxx
+include/OpenCASCADE/BRepGraph_CacheMesh.hxx
+include/OpenCASCADE/BRepGraph_CacheRegistry.hxx
 include/OpenCASCADE/BRepGraph_ChildExplorer.hxx
 include/OpenCASCADE/BRepGraph_Compact.hxx
 include/OpenCASCADE/BRepGraph_Copy.hxx
+include/OpenCASCADE/BRepGraph_CopyRemap.hxx
 include/OpenCASCADE/BRepGraph_Data.hxx
 include/OpenCASCADE/BRepGraph_Deduplicate.hxx
 include/OpenCASCADE/BRepGraph_DeferredScope.hxx
 include/OpenCASCADE/BRepGraph_DefsIterator.hxx
 include/OpenCASCADE/BRepGraph_EditorView.hxx
-include/OpenCASCADE/BRepGraph_History.hxx
-include/OpenCASCADE/BRepGraph_HistoryRecord.hxx
+include/OpenCASCADE/BRepGraph_ItemId.hxx
+include/OpenCASCADE/BRepGraph_ItemUID.hxx
 include/OpenCASCADE/BRepGraph_Iterator.hxx
 include/OpenCASCADE/BRepGraph_Layer.hxx
+include/OpenCASCADE/BRepGraph_LayerDeferred.hxx
+include/OpenCASCADE/BRepGraph_LayerHistory.hxx
 include/OpenCASCADE/BRepGraph_LayerIterator.hxx
-include/OpenCASCADE/BRepGraph_LayerParam.hxx
+include/OpenCASCADE/BRepGraph_LayerLock.hxx
+include/OpenCASCADE/BRepGraph_LayerParametric.hxx
 include/OpenCASCADE/BRepGraph_LayerRegistry.hxx
-include/OpenCASCADE/BRepGraph_LayerRegularity.hxx
-include/OpenCASCADE/BRepGraph_MeshCache.hxx
+include/OpenCASCADE/BRepGraph_LayerTopoSupplement.hxx
 include/OpenCASCADE/BRepGraph_MeshView.hxx
 include/OpenCASCADE/BRepGraph_MutGuard.hxx
 include/OpenCASCADE/BRepGraph_NodeId.hxx
 include/OpenCASCADE/BRepGraph_ParallelPolicy.hxx
 include/OpenCASCADE/BRepGraph_ParentExplorer.hxx
 include/OpenCASCADE/BRepGraph_RefId.hxx
-include/OpenCASCADE/BRepGraph_RefTransientCache.hxx
 include/OpenCASCADE/BRepGraph_RefUID.hxx
 include/OpenCASCADE/BRepGraph_RefsIterator.hxx
 include/OpenCASCADE/BRepGraph_RefsView.hxx
 include/OpenCASCADE/BRepGraph_RelatedIterator.hxx
-include/OpenCASCADE/BRepGraph_RepId.hxx
 include/OpenCASCADE/BRepGraph_ReverseIterator.hxx
 include/OpenCASCADE/BRepGraph_ShapesView.hxx
+include/OpenCASCADE/BRepGraph_SupplementEditor.hxx
+include/OpenCASCADE/BRepGraph_SupplementIterator.hxx
 include/OpenCASCADE/BRepGraph_Tool.hxx
 include/OpenCASCADE/BRepGraph_TopoView.hxx
 include/OpenCASCADE/BRepGraph_Transform.hxx
-include/OpenCASCADE/BRepGraph_TransientCache.hxx
 include/OpenCASCADE/BRepGraph_UID.hxx
 include/OpenCASCADE/BRepGraph_UIDsView.hxx
+include/OpenCASCADE/BRepGraph_UsagePath.hxx
 include/OpenCASCADE/BRepGraph_Validate.hxx
 include/OpenCASCADE/BRepGraph_VersionStamp.hxx
-include/OpenCASCADE/BRepGraph_WireExplorer.hxx
 include/OpenCASCADE/BRepIntCurveSurface_Inter.hxx
 include/OpenCASCADE/BRepLProp.hxx
 include/OpenCASCADE/BRepLProp_CLProps.hxx
@@ -21924,7 +21936,6 @@ include/OpenCASCADE/GeomFill_FunctionGuide.hxx
 include/OpenCASCADE/GeomFill_Generator.hxx
 include/OpenCASCADE/GeomFill_Generator.lxx
 include/OpenCASCADE/GeomFill_Gordon.hxx
-include/OpenCASCADE/GeomFill_GordonBuilder.hxx
 include/OpenCASCADE/GeomFill_GuideTrihedronAC.hxx
 include/OpenCASCADE/GeomFill_GuideTrihedronPlan.hxx
 include/OpenCASCADE/GeomFill_HArray1OfLocationLaw.hxx
@@ -21937,6 +21948,7 @@ include/OpenCASCADE/GeomFill_LocationDraft.hxx
 include/OpenCASCADE/GeomFill_LocationGuide.hxx
 include/OpenCASCADE/GeomFill_LocationLaw.hxx
 include/OpenCASCADE/GeomFill_NSections.hxx
+include/OpenCASCADE/GeomFill_NetworkSurface.hxx
 include/OpenCASCADE/GeomFill_Pipe.hxx
 include/OpenCASCADE/GeomFill_Pipe.lxx
 include/OpenCASCADE/GeomFill_PipeError.hxx
@@ -21989,7 +22001,11 @@ include/OpenCASCADE/GeomGridEval_SurfaceOfExtrusion.hxx
 include/OpenCASCADE/GeomGridEval_SurfaceOfRevolution.hxx
 include/OpenCASCADE/GeomGridEval_Torus.hxx
 include/OpenCASCADE/GeomHash_CurveHasher.hxx
+include/OpenCASCADE/GeomHash_Polygon2DHasher.hxx
+include/OpenCASCADE/GeomHash_Polygon3DHasher.hxx
+include/OpenCASCADE/GeomHash_PolygonOnTriHasher.hxx
 include/OpenCASCADE/GeomHash_SurfaceHasher.hxx
+include/OpenCASCADE/GeomHash_TriangulationHasher.hxx
 include/OpenCASCADE/GeomInt.hxx
 include/OpenCASCADE/GeomInt_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfWLApprox.hxx
 include/OpenCASCADE/GeomInt_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfWLApprox.hxx
@@ -23951,6 +23967,7 @@ include/OpenCASCADE/OpenGl_Resource.hxx
 include/OpenCASCADE/OpenGl_Sampler.hxx
 include/OpenCASCADE/OpenGl_SceneGeometry.hxx
 include/OpenCASCADE/OpenGl_SetOfShaderPrograms.hxx
+include/OpenCASCADE/OpenGl_ShaderGrid.hxx
 include/OpenCASCADE/OpenGl_ShaderManager.hxx
 include/OpenCASCADE/OpenGl_ShaderObject.hxx
 include/OpenCASCADE/OpenGl_ShaderProgram.hxx