ports/security/razorback-api/files/patch-common_m4__compiler_options.m4
Adam Weinberger 16786c6c15 Fix build, broken in the json-c 0.12 upgrade. Given the nature of the errors there
are likely other ports that will fail in similar ways. (i.e. libjson.so->libjson-c.so,
and json/json.h -> json-c/json.h).

While here, use OPTIONS helpers to avoid unnecessary bsd.port.options.mk inclusion.
2014-08-20 14:30:58 +00:00

11 lines
690 B
Text

--- ./common_m4/compiler_options.m4.orig 2014-08-20 10:21:07.000000000 -0400
+++ ./common_m4/compiler_options.m4 2014-08-20 10:21:17.000000000 -0400
@@ -28,7 +28,7 @@
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