diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-17 14:57:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-17 14:57:38 +0000 |
commit | 5959c8510d12e770f9320c71e55b4419e49154ee (patch) | |
tree | 560c7460ed5e13f38e3e946871031d4caaebdd13 /sci-libs/hdf5/files | |
parent | 7278fa233720d99bfac63a408deeed0143a61dcc (diff) |
gentoo auto-resync : 17:12:2023 - 14:57:38
Diffstat (limited to 'sci-libs/hdf5/files')
3 files changed, 96 insertions, 0 deletions
diff --git a/sci-libs/hdf5/files/hdf5-1.14.2-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch b/sci-libs/hdf5/files/hdf5-1.14.2-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch new file mode 100644 index 000000000000..91ed578ccc14 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.14.2-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch @@ -0,0 +1,28 @@ +From 1a5293a30594afbfd3a24899e055429046a47837 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 17 Dec 2023 09:25:43 +0000 +Subject: [PATCH 1/3] Make sure that during runtime we'll use the same + libgfortran as during linking + +Bug: https://bugs.gentoo.org/419991 +Bug: https://bugs.gentoo.org/419895 +Signed-off-by: Sam James <sam@gentoo.org> +--- + fortran/src/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am +index d42a41d..2b2a316 100644 +--- a/fortran/src/Makefile.am ++++ b/fortran/src/Makefile.am +@@ -96,6 +96,7 @@ if BUILD_PARALLEL_CONDITIONAL + else + H5FC_NAME = h5fc + endif ++H5test_kind_LDFLAGS=-static-libgfortran + + # Rules for automatically detecting which fortran types are present + # and matching them to C types. This is accomplished using helper +-- +2.43.0 + diff --git a/sci-libs/hdf5/files/hdf5-1.14.2-0002-Disable-forced-stripping.patch b/sci-libs/hdf5/files/hdf5-1.14.2-0002-Disable-forced-stripping.patch new file mode 100644 index 000000000000..646950c62167 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.14.2-0002-Disable-forced-stripping.patch @@ -0,0 +1,31 @@ +From 260c90de63af19ff96fcf735d75d497356747788 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 17 Dec 2023 09:26:33 +0000 +Subject: [PATCH 2/3] Disable forced stripping + +Bug: https://bugs.gentoo.org/665378 +Signed-off-by: Sam James <sam@gentoo.org> +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index baad732..8c6b6f4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2183,9 +2183,9 @@ case "X-$SYMBOLS" in + AC_MSG_RESULT([yes]) + ;; + X-no) +- H5_CFLAGS="$H5_CFLAGS $NO_SYMBOLS_CFLAGS" +- H5_CXXFLAGS="$H5_CXXFLAGS $NO_SYMBOLS_CXXFLAGS" +- H5_FCFLAGS="$H5_FCFLAGS $NO_SYMBOLS_FCFLAGS" ++ H5_CFLAGS="$H5_CFLAGS" ++ H5_CXXFLAGS="$H5_CXXFLAGS" ++ H5_FCFLAGS="$H5_FCFLAGS" + AC_MSG_RESULT([no]) + ;; + *) +-- +2.43.0 + diff --git a/sci-libs/hdf5/files/hdf5-1.14.2-0003-Drop-broken-Werror-stripping.patch b/sci-libs/hdf5/files/hdf5-1.14.2-0003-Drop-broken-Werror-stripping.patch new file mode 100644 index 000000000000..fbe69dcadb92 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.14.2-0003-Drop-broken-Werror-stripping.patch @@ -0,0 +1,37 @@ +From 5c87a2125ca2620de633e33a52020d12b7661da8 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 17 Dec 2023 09:27:18 +0000 +Subject: [PATCH 3/3] Drop broken -Werror stripping + +The stripping is broken and mangles -Werror=x -> -x [0]. + +[0] https://github.com/HDFGroup/hdf5/commit/41526f68f3482f2b3a7aa581288bc86e9c6dcb43#r100076265 + +Bug: https://bugs.gentoo.org/917448 +Signed-off-by: Sam James <sam@gentoo.org> +--- + configure.ac | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8c6b6f4..a66830e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -189,14 +189,6 @@ saved_user_JAVAFLAGS="$JAVAFLAGS" + saved_user_LDFLAGS="$LDFLAGS" + saved_user_CPPFLAGS="$CPPFLAGS" + +-## Strip out -Werror from CFLAGS since that can cause checks to fail when +-## compiling the test program fails due to warnings +-CFLAGS="`echo $CFLAGS | sed -e 's/-Werror//g'`" +-CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Werror//g'`" +-FCFLAGS="`echo $FCFLAGS | sed -e 's/-Werror//g'`" +-JAVACFLAGS="`echo $JAVACFLAGS | sed -e 's/-Werror//g'`" +-CPPFLAGS="`echo $CPPFLAGS | sed -e 's/-Werror//g'`" +- + ## Support F9X variable to define Fortran compiler if FC variable is + ## not used. This should be deprecated in the future. + if test "x" = "x$FC"; then +-- +2.43.0 + |