# HG changeset patch # User John W. Eaton # Date 1408560162 14400 # Node ID 155466c2f445bb90ea0bd9318a2b4c63c4793ac1 # Parent e5d08daf58a0e8f84e97b6bfdb3c768a72927072 hdf5: don't use -ansi -pedantic compiler flags diff -r e5d08daf58a0 -r 155466c2f445 dist-files.mk --- a/dist-files.mk Wed Aug 20 14:32:50 2014 -0400 +++ b/dist-files.mk Wed Aug 20 14:42:42 2014 -0400 @@ -168,6 +168,7 @@ guile-test.c \ guile.mk \ harfbuzz.mk \ + hdf5-1-fixes.patch \ hdf5.mk \ hunspell-test.cpp \ hunspell.mk \ diff -r e5d08daf58a0 -r 155466c2f445 src/hdf5-1-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hdf5-1-fixes.patch Wed Aug 20 14:42:42 2014 -0400 @@ -0,0 +1,12 @@ +diff -uNr a/config/gnu-flags b/config/gnu-flags +--- a/config/gnu-flags 2012-10-11 13:31:46.000000000 -0400 ++++ b/config/gnu-flags 2014-08-20 14:36:48.118651735 -0400 +@@ -146,7 +146,7 @@ + esac + + # General +- H5_CFLAGS="$H5_CFLAGS $arch -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" ++ H5_CFLAGS="$H5_CFLAGS $arch -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" + + # Production + case "$cc_vendor-$cc_version" in