Files
haikuports/sys-apps/file/patches/file-5.15.patch
2013-10-19 12:33:08 -06:00

21 lines
951 B
Diff

diff -up file-5.15/configure.ac.orig file-5.15/configure.ac
--- file-5.15/configure.ac.orig 2012-02-21 12:16:29.015728640 -0700
+++ file-5.15/configure.ac 2012-05-02 22:53:14.077594624 -0600
@@ -142,14 +142,14 @@ else
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
+ -Wcast-qual -Wwrite-strings"
fi], [
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
+ -Wcast-qual -Wwrite-strings"
else
WARNINGS=
AC_MSG_RESULT(no)