]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Add patches for Fedora 38
authorGuytri Kastane <guytri.kastane@csgroup.eu>
Thu, 25 May 2023 15:27:35 +0000 (17:27 +0200)
committerNicolas OTTON <nicolas.otton@cea.fr>
Thu, 25 May 2023 15:27:35 +0000 (17:27 +0200)
products/patches/NETGENPlugin_FD38.patch [new file with mode: 0644]
products/patches/paraview-5.11.0.p008-cstdint-FD38.patch [new file with mode: 0644]

diff --git a/products/patches/NETGENPlugin_FD38.patch b/products/patches/NETGENPlugin_FD38.patch
new file mode 100644 (file)
index 0000000..3d93040
--- /dev/null
@@ -0,0 +1,24 @@
+diff -Naur NETGENPLUGIN_ref/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx NETGENPLUGIN_dev/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
+--- NETGENPLUGIN_ref/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx       2023-05-25 16:30:06.119261933 +0200
++++ NETGENPLUGIN_dev/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx       2023-05-25 16:21:37.764903074 +0200
+@@ -259,7 +259,7 @@
+       if ( elem->NbCornerNodes() != 3 ){
+         return error( COMPERR_BAD_INPUT_MESH, "Not triangle element encounters");
+       }
+-      listElements[elem] = tuple(isRev, isInternalFace);
++      listElements[elem] = tuple<bool, bool>(isRev, isInternalFace);
+     }
+   }
+diff -Naur NETGENPLUGIN_ref/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx NETGENPLUGIN_dev/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx
+--- NETGENPLUGIN_ref/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx    2023-05-25 16:30:06.119261933 +0200
++++ NETGENPLUGIN_dev/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx    2023-05-25 16:17:57.350145584 +0200
+@@ -392,7 +392,7 @@
+     // Get orientation
+     // Netgen requires that all the triangle point outside
+     isRev = elemOrientation[elem->GetID()];
+-    listElements[elem] = tuple(isRev, false);
++    listElements[elem] = tuple<bool, bool>(isRev, false);
+   }
+   return false;
diff --git a/products/patches/paraview-5.11.0.p008-cstdint-FD38.patch b/products/patches/paraview-5.11.0.p008-cstdint-FD38.patch
new file mode 100644 (file)
index 0000000..f17a464
--- /dev/null
@@ -0,0 +1,44 @@
+diff -Naur ParaView_ref/VTK/IO/Image/vtkSEPReader.h ParaView_dev/VTK/IO/Image/vtkSEPReader.h
+--- ParaView_ref/VTK/IO/Image/vtkSEPReader.h   2022-11-18 15:26:53.000000000 +0100
++++ ParaView_dev/VTK/IO/Image/vtkSEPReader.h   2023-05-25 12:20:42.016536934 +0200
+@@ -25,6 +25,7 @@
+ #include "vtkImageAlgorithm.h"
+ #include "vtkNew.h" // for ivars
++#include <cstdint>
+ #include <array>  // for std::array
+ #include <string> // for std::string
+diff -Naur ParaView_ref/VTK/IO/PIO/PIOData.h ParaView_dev/VTK/IO/PIO/PIOData.h
+--- ParaView_ref/VTK/IO/PIO/PIOData.h  2022-11-18 15:26:53.000000000 +0100
++++ ParaView_dev/VTK/IO/PIO/PIOData.h  2023-05-25 13:01:49.598990879 +0200
+@@ -10,6 +10,7 @@
+ #include <string.h>
+ #include <string>
+ #include <valarray>
++#include <cstdint>
+ struct Cstring_less
+ {
+diff -Naur ParaView_ref/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h ParaView_dev/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
+--- ParaView_ref/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h     2022-11-18 15:26:54.000000000 +0100
++++ ParaView_dev/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h     2023-05-25 13:38:22.802343684 +0200
+@@ -49,6 +49,7 @@
+ #include "vtkMathTextUtilities.h"
+ #include "vtkRenderingMatplotlibModule.h" // For export macro
++#include <cstdint>
+ #include <vector> // for std::vector
+ struct _object;
+diff -Naur ParaView_ref/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp ParaView_dev/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
+--- ParaView_ref/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp  2022-11-18 15:26:54.000000000 +0100
++++ ParaView_dev/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp  2023-05-25 11:49:44.525774382 +0200
+@@ -33,6 +33,7 @@
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ #define CPL_DLL