summaryrefslogtreecommitdiff
path: root/sci-libs/hdf5/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
commit1c382dc5dbc52576ac2300fee0498af8af44e7b4 (patch)
tree45d2492f5c659cbb01120d4192c9be34841362bd /sci-libs/hdf5/files
parentb9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (diff)
Revert "gentoo auto-resync : 14:06:2023 - 15:13:45"
This reverts commit b9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b.
Diffstat (limited to 'sci-libs/hdf5/files')
-rw-r--r--sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch b/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
new file mode 100644
index 000000000000..4530f1fa6d2e
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
@@ -0,0 +1,34 @@
+https://bugs.gentoo.org/904515
+https://github.com/HDFGroup/hdf5/issues/2422
+https://github.com/HDFGroup/hdf5/issues/2621
+https://github.com/HDFGroup/hdf5/pull/2667
+https://github.com/HDFGroup/hdf5/commit/b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0
+
+From b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0 Mon Sep 17 00:00:00 2001
+From: jhendersonHDF <jhenderson@hdfgroup.org>
+Date: Tue, 11 Apr 2023 14:31:25 -0500
+Subject: [PATCH] Fix improper include of build directory (#2422, #2621)
+ (#2667)
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -3012,8 +3012,7 @@ SUBFILING_VFD=no
+ HAVE_MERCURY="no"
+
+ ## Always include subfiling directory so public header files are available
+-CPPFLAGS="$CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
+-AM_CPPFLAGS="$AM_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
++H5_CPPFLAGS="$H5_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
+
+ AC_MSG_CHECKING([if the subfiling I/O virtual file driver (VFD) is enabled])
+
+@@ -3061,8 +3060,7 @@ if test "X$SUBFILING_VFD" = "Xyes"; then
+ mercury_dir="$ac_abs_confdir/src/H5FDsubfiling/mercury"
+ mercury_inc="$mercury_dir/src/util"
+
+- CPPFLAGS="$CPPFLAGS -I$mercury_inc"
+- AM_CPPFLAGS="$AM_CPPFLAGS -I$mercury_inc"
++ H5_CPPFLAGS="$H5_CPPFLAGS -I$mercury_inc"
+
+ HAVE_STDATOMIC_H="yes"
+ AC_CHECK_HEADERS([stdatomic.h],,[HAVE_STDATOMIC_H="no"])