Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package occt for openSUSE:Factory checked in at 2021-09-06 15:57:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/occt (Old) and /work/SRC/openSUSE:Factory/.occt.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "occt" Mon Sep 6 15:57:58 2021 rev:7 rq:916950 version:7.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/occt/occt.changes 2021-08-25 21:00:06.901010992 +0200 +++ /work/SRC/openSUSE:Factory/.occt.new.1899/occt.changes 2021-09-06 15:58:09.357293461 +0200 @@ -1,0 +2,7 @@ +Sun Sep 5 22:46:29 UTC 2021 - Stefan Br??ns <stefan.bru...@rwth-aachen.de> + +- Fix build failures of FreeCAD due to a missing class definition, + introduced with occt 7.5.2. Add + 0001-0032328-Missing-include-of-TopoDS_Edge.hxx-in-ShapeU.patch + +------------------------------------------------------------------- New: ---- 0001-0032328-Missing-include-of-TopoDS_Edge.hxx-in-ShapeU.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ occt.spec ++++++ --- /var/tmp/diff_new_pack.XNrpHs/_old 2021-09-06 15:58:11.021293077 +0200 +++ /var/tmp/diff_new_pack.XNrpHs/_new 2021-09-06 15:58:11.021293077 +0200 @@ -31,6 +31,8 @@ Patch1: fix_build.patch # PATCH-FIX-UPSTREAM - https://gitlab.com/blobfish/occt/-/commit/ad0ba55f55b36dc957f66192c4766ace83f82b7e Patch2: 0001-Add-error-checking-to-chamfer-and-fillet-code.patch +# PATCH-FIX-UPSTREAM - https://tracker.dev.opencascade.org/view.php?id=32328 +Patch3: 0001-0032328-Missing-include-of-TopoDS_Edge.hxx-in-ShapeU.patch Provides: OpenCASCADE = %{version} BuildRequires: bison BuildRequires: cmake ++++++ 0001-0032328-Missing-include-of-TopoDS_Edge.hxx-in-ShapeU.patch ++++++ >From 8f042b1af8816d9e40827c97fa610433545802e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de> Date: Mon, 6 Sep 2021 00:44:56 +0200 Subject: [PATCH] 0032328: Missing include of TopoDS_Edge.hxx in ShapeUpgrade_UnifySameDomain.hxx Commit 91e51cb0f2ec0b59 ("0032140: Modeling Algorithms - unify same domain calls crossed for opposite vectors") moved the definition of SubSequenceOfEdges to the header files. As it is used only via reference in the header file a forward declaration is sufficient. Move the definition of SubSequenceOfEdges back to the implementation file. This fixes any compilation failures due to the missing definition of TopoDS_Edge. --- src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx | 6 ++++++ src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx index da8e4f16be..64d86c7681 100644 --- a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx +++ b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx @@ -105,6 +105,12 @@ static void SplitWire (const TopoDS_Wire& theWire, const TopTools_IndexedMapOfShape& theVmap, TopTools_SequenceOfShape& theWireSeq); +struct SubSequenceOfEdges +{ + TopTools_SequenceOfShape SeqsEdges; + TopoDS_Edge UnionEdges; +}; + static Standard_Real TrueValueOfOffset(const Standard_Real theValue, const Standard_Real thePeriod) { diff --git a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx index b1558d111f..9c0379148e 100644 --- a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx +++ b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx @@ -32,6 +32,7 @@ #include <Precision.hxx> class ShapeBuild_ReShape; class TopoDS_Shape; +struct SubSequenceOfEdges; class ShapeUpgrade_UnifySameDomain; @@ -66,12 +67,6 @@ DEFINE_STANDARD_HANDLE(ShapeUpgrade_UnifySameDomain, Standard_Transient) //! history by default. //! To avoid collecting of the history the place holder should be set to null handle. -struct SubSequenceOfEdges -{ - TopTools_SequenceOfShape SeqsEdges; - TopoDS_Edge UnionEdges; -}; - class ShapeUpgrade_UnifySameDomain : public Standard_Transient { -- 2.32.0