freebsd-ports/security/razorback-officeCat/files/patch-common__m4_compiler__options.m4
John Marino 20049eb7c6 security/razorback-officeCat: Chase json-c update (Unbreak)
This port is i386 only (due to dependency on wine, so the ONLY_FOR_ARCH
definition is actually unnecessary) so I can't test it.  It's also
unstaged.  However, the standard json-c patches apply, so just assume
that officeCat needs them.  If I'm wrong, the port will probably be
pruned in a week anyway.

Approved by:	portmgr (implicit, NO_STAGE)
2014-08-20 18:45:02 +00:00

11 lines
666 B
Text

--- common_m4/compiler_options.m4.orig 2012-01-04 18:17:09 UTC
+++ common_m4/compiler_options.m4
@@ -28,7 +28,7 @@ if test "$GCC" = yes ; then
CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing"
CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
- CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
+ CWARNINGS="$CWARNINGS -Wall -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
if test "x$NOT_PEDANTIC" = "x"; then
CWARNINGS="$CWARNINGS -pedantic"
fi