Accepting request 997635 from science
OBS-URL: https://build.opensuse.org/request/show/997635 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/FreeCAD?expand=0&rev=38
This commit is contained in:
commit
d5ca9432c5
@ -0,0 +1,53 @@
|
||||
From d334b435006d81b31fd6a78651d2dbb11f4167e0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Tue, 16 Aug 2022 00:05:17 +0200
|
||||
Subject: [PATCH] Fix build with NG 6.2.2201+, include
|
||||
BRepMesh_IncrementalMesh.hxx
|
||||
|
||||
Netgen commit 16b88e8e67a0 "OCC Mesher Cleanup" removed many OCC includes
|
||||
from occgeom.hpp, e.g. BRepMesh_IncrementalMesh.hxx.
|
||||
|
||||
The missing headers and class definitions cause a compilation failure.
|
||||
---
|
||||
.../salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp | 3 +++
|
||||
.../src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cpp | 2 ++
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp
|
||||
index 4dd8ed274e..95e7e4c04e 100644
|
||||
--- a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp
|
||||
+++ b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp
|
||||
@@ -50,7 +50,9 @@
|
||||
|
||||
#include <utilities.h>
|
||||
|
||||
+#include <BRepBndLib.hxx>
|
||||
#include <BRepBuilderAPI_Copy.hxx>
|
||||
+#include <BRepMesh_IncrementalMesh.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <Bnd_B3d.hxx>
|
||||
#include <NCollection_Map.hxx>
|
||||
@@ -66,6 +68,7 @@
|
||||
#include <TopTools_DataMapOfShapeShape.hxx>
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
+#include <TopoDS_Solid.hxx>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4067)
|
||||
diff --git a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cpp b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cpp
|
||||
index 2ebe4f87ac..72269e84db 100644
|
||||
--- a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cpp
|
||||
+++ b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cpp
|
||||
@@ -39,6 +39,8 @@
|
||||
#include <StdMeshers_MaxElementArea.hxx>
|
||||
#include <StdMeshers_QuadranglePreference.hxx>
|
||||
#include <StdMeshers_ViscousLayers2D.hxx>
|
||||
+#include <TopExp.hxx>
|
||||
+#include <TopExp_Explorer.hxx>
|
||||
|
||||
#include <Precision.hxx>
|
||||
#include <Standard_ErrorHandler.hxx>
|
||||
--
|
||||
2.37.1
|
||||
|
3
FreeCAD-0.20.1.tar.gz
Normal file
3
FreeCAD-0.20.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:70c15f7c1c676e3376cdc2a66c136030c5502f9802935e5b626ca8ce3f8812ed
|
||||
size 75545072
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4d9ce782d3da0edfa16d6218db4ce8613e346124ee47b3fe6a6dae40c0a61d9
|
||||
size 75452957
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 16 00:33:06 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Update to version 0.20.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 17:12:47 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: FreeCAD-test
|
||||
Version: 0.20
|
||||
Version: 0.20.1
|
||||
Release: 0
|
||||
Summary: Meta source package that runs the FreeCAD testsuite when built
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 16 00:33:06 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Update to version 0.20.1:
|
||||
* Lots of bugfixes and new features, for details see
|
||||
https://wiki.freecad.org/Release_notes_0.20.1 and
|
||||
https://github.com/FreeCAD/FreeCAD/releases/tag/0.20.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 22:06:33 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Fix build with Netgen 6.2.2201 and later, add
|
||||
0001-Fix-build-with-NG-6.2.2201-include-BRepMesh_Incremen.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 17:12:11 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
%bcond_without smesh
|
||||
|
||||
Name: FreeCAD
|
||||
Version: 0.20
|
||||
Version: 0.20.1
|
||||
Release: 0
|
||||
Summary: General Purpose 3D CAD Modeler
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
@ -38,6 +38,8 @@ Source0: https://github.com/FreeCAD/FreeCAD/archive/refs/tags/%{version}.
|
||||
Patch0: 0001-Gui-Quarter-Add-missing-OpenGL-includes.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: 0001-Avoid-catching-SIGSEGV-defer-to-system-services.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch2: 0001-Fix-build-with-NG-6.2.2201-include-BRepMesh_Incremen.patch
|
||||
|
||||
# Test suite fails on 32bit and I don't want to debug that anymore
|
||||
ExcludeArch: %ix86 %arm ppc s390 s390x
|
||||
|
Loading…
x
Reference in New Issue
Block a user