- Update to version 1.0.0 For details, see https://wiki.freecad.org/Release_notes_1.0 The most notable improvements over the 0.21 release series are: * inclusion of the topological naming problem mitigation code * an integrated assembly workbench * a new materials system * and many UI/UX improvements - Drop obsolete/upstream patches: * freecad-copy_options.patch * freecad-copy_options-2.patch * freecad-boost185.patch * boost_1_86_fixes.patch * fix_vtk_9_3_compat.patch * freecad-xerces_3_3_compat.patch - Add * 0001-Mod-CAM-Add-missing-OpenGL-includes.patch * ondselsolver_fix_gcc_75_filesystem.patch OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=181
23 lines
969 B
Diff
23 lines
969 B
Diff
From f555a25f9e67e628e8075fc8599d7c11807eaddd Mon Sep 17 00:00:00 2001
|
|
From: wmayer <wmayer@users.sourceforge.net>
|
|
Date: Sun, 21 Apr 2024 08:36:16 +0200
|
|
Subject: [PATCH] Fixes #13549: smesh doesn't compile with boost 1.85
|
|
|
|
---
|
|
src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp b/src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp
|
|
index d72ff2363f39..f108cbbcb2cf 100644
|
|
--- a/src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp
|
|
+++ b/src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp
|
|
@@ -55,7 +55,7 @@ namespace DriverGMF
|
|
|
|
bool isExtensionCorrect( const std::string& fileName )
|
|
{
|
|
- std::string ext = boost::filesystem::extension(fileName);
|
|
+ std::string ext = boost::filesystem::path(fileName).extension().string();
|
|
switch ( ext.size() ) {
|
|
case 5: return ( ext == ".mesh" || ext == ".solb" );
|
|
case 6: return ( ext == ".meshb" );
|