hdf5/hdf5-Werror.patch
Orion Poplawski 2323e681da Update to 2.1.1
Use cmake to build (rhbz#919623)
Use %conf
Use upstream static patch
Add patch to drop Java soversion and set install location
2026-04-03 07:46:00 -06:00

18 lines
871 B
Diff

diff -up hdf5-1.14.0/configure.ac.Werror hdf5-1.14.0/configure.ac
--- hdf5-1.14.0/configure.ac.Werror 2022-12-28 14:18:22.000000000 -0700
+++ hdf5-1.14.0/configure.ac 2023-02-13 18:52:53.623480139 -0700
@@ -182,14 +182,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