summaryrefslogtreecommitdiff
path: root/packages/avahi/avahi-0.1/no-strict-ansi.patch
blob: 4bc3a5c4c4fc79fc3cf8d662595175f83e721c6e (plain)
1
2
3
4
5
6
7
8
9
10
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])