File neon-gcc4.patch of Package compat-neon024
--- neon-0.24.7/macros/neon.m4.xx 2005-02-02 16:23:30.801532359 +0100
+++ neon-0.24.7/macros/neon.m4 2005-02-02 16:23:36.731201594 +0100
@@ -830,7 +830,7 @@
if test "$enable_warnings" = "yes"; then
case $GCC:`uname` in
yes:*)
- CFLAGS="$CFLAGS -Wall -ansi-pedantic -Wmissing-declarations -Winline -Wshadow -Wreturn-type -Wsign-compare -Wundef -Wpointer-arith -Wcast-align -Wbad-function-cast -Wformat-security"
+ CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wmissing-declarations -Winline -Wshadow -Wreturn-type -Wsign-compare -Wundef -Wpointer-arith -Wcast-align -Wbad-function-cast -Wformat-security"
if test -z "$with_ssl" -o "$with_ssl" = "no"; then
# OpenSSL headers fail strict prototypes checks
CFLAGS="$CFLAGS -Wstrict-prototypes"