diff options
Diffstat (limited to 'packages/avahi/avahi-0.1/no-strict-ansi.patch')
-rw-r--r-- | packages/avahi/avahi-0.1/no-strict-ansi.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/avahi/avahi-0.1/no-strict-ansi.patch b/packages/avahi/avahi-0.1/no-strict-ansi.patch new file mode 100644 index 0000000000..4bc3a5c4c4 --- /dev/null +++ b/packages/avahi/avahi-0.1/no-strict-ansi.patch @@ -0,0 +1,11 @@ +--- avahi-0.1/configure.ac.orig 2005-08-23 19:52:00 +0200 ++++ avahi-0.1/configure.ac 2005-08-23 19:52:07 +0200 +@@ -57,7 +57,7 @@ + # If using GCC specify some additional parameters + if test "x$GCC" = "xyes" ; then + +- DESIRED_FLAGS="-std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wlarger-than-4000 -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter" ++ DESIRED_FLAGS="-std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wlarger-than-4000 -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter" + + for flag in $DESIRED_FLAGS ; do + AC_MSG_CHECKING([whether $CC accepts $flag]) |