From 24d2fb2be8ea0624ad7d05092f573b01f48ad836 Mon Sep 17 00:00:00 2001 From: Guytri Kastane Date: Thu, 25 May 2023 17:27:35 +0200 Subject: [PATCH] Add patches for Fedora 38 --- products/patches/NETGENPlugin_FD38.patch | 24 ++++++++++ .../paraview-5.11.0.p008-cstdint-FD38.patch | 44 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 products/patches/NETGENPlugin_FD38.patch create mode 100644 products/patches/paraview-5.11.0.p008-cstdint-FD38.patch diff --git a/products/patches/NETGENPlugin_FD38.patch b/products/patches/NETGENPlugin_FD38.patch new file mode 100644 index 0000000..3d93040 --- /dev/null +++ b/products/patches/NETGENPlugin_FD38.patch @@ -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(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(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 index 0000000..f17a464 --- /dev/null +++ b/products/patches/paraview-5.11.0.p008-cstdint-FD38.patch @@ -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 + #include // for std::array + #include // 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 + #include + #include ++#include + + 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 + #include // 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 + #include ++#include + + #define CPL_DLL + -- 2.39.2