From c8b7196ff8b8e1cda5ca439c1937bcf6e5e305d1 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 3 Nov 2020 17:18:28 +0100 Subject: [PATCH] bos #20272 [CEA 20228][Windows] crash in PARAVIS --- .../patches/med-4.1.0_hdf5_native_long.patch | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 products/patches/med-4.1.0_hdf5_native_long.patch diff --git a/products/patches/med-4.1.0_hdf5_native_long.patch b/products/patches/med-4.1.0_hdf5_native_long.patch new file mode 100644 index 0000000..ee00d01 --- /dev/null +++ b/products/patches/med-4.1.0_hdf5_native_long.patch @@ -0,0 +1,60 @@ +diff -Naur med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumEcrire231.c med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumEcrire231.c +--- med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumEcrire231.c 2020-03-11 12:36:36.000000000 +0300 ++++ med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumEcrire231.c 2020-11-03 17:06:06.715500300 +0300 +@@ -98,7 +98,7 @@ + break; + + case MED_INT64 : +- type_hdf = H5T_NATIVE_LONG; ++ type_hdf = MED_H5T_INT64; + break; + + default : +diff -Naur med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumEcrire232.c med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumEcrire232.c +--- med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumEcrire232.c 2020-03-11 12:36:36.000000000 +0300 ++++ med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumEcrire232.c 2020-11-03 17:06:15.143299100 +0300 +@@ -116,7 +116,7 @@ + break; + + case MED_INT64 : +- type_hdf = H5T_NATIVE_LONG; ++ type_hdf = MED_H5T_INT64; + break; + + default : +diff -Naur med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumLire231.c med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumLire231.c +--- med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumLire231.c 2020-03-11 12:36:36.000000000 +0300 ++++ med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumLire231.c 2020-11-03 17:06:22.211203800 +0300 +@@ -98,7 +98,7 @@ + break; + + case MED_INT64 : +- type_hdf = H5T_NATIVE_LONG; ++ type_hdf = MED_H5T_INT64; + break; + + default : +diff -Naur med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumLire232.c med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumLire232.c +--- med-4.1.0_SRC_oring/src/2.3.6/hdfi/MEDdatasetNumLire232.c 2020-03-11 12:36:36.000000000 +0300 ++++ med-4.1.0_SRC_modif/src/2.3.6/hdfi/MEDdatasetNumLire232.c 2020-11-03 17:06:29.243019900 +0300 +@@ -110,7 +110,7 @@ + break; + + case MED_INT64 : +- type_hdf = H5T_NATIVE_LONG; ++ type_hdf = MED_H5T_INT64; + break; + + default : +diff -Naur med-4.1.0_SRC_oring/tools/medimport/2.1.x/MED21datasetNumLire.c med-4.1.0_SRC_modif/tools/medimport/2.1.x/MED21datasetNumLire.c +--- med-4.1.0_SRC_oring/tools/medimport/2.1.x/MED21datasetNumLire.c 2020-03-11 12:36:40.000000000 +0300 ++++ med-4.1.0_SRC_modif/tools/medimport/2.1.x/MED21datasetNumLire.c 2020-11-03 17:07:07.570860800 +0300 +@@ -58,7 +58,7 @@ + break; + + case MED_INT64 : +- type_hdf = H5T_NATIVE_LONG; ++ type_hdf = MED_H5T_INT64; + break; + + default : -- 2.39.2