Zap -Werror, so I can build it with WARNINGS=Yes Index: patches/patch-Makefile_in =================================================================== RCS file: patches/patch-Makefile_in diff -N patches/patch-Makefile_in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Makefile_in 10 Jul 2013 16:02:33 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- Makefile.in.orig Wed Jul 10 17:56:12 2013 ++++ Makefile.in Wed Jul 10 17:56:32 2013 +@@ -274,7 +274,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT ++AM_CFLAGS = -Wall -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT + EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj + SUBDIRS = . tests + lib_LTLIBRARIES = libjson-c.la $(am__append_1) Index: patches/patch-tests_Makefile_in =================================================================== RCS file: patches/patch-tests_Makefile_in diff -N patches/patch-tests_Makefile_in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-tests_Makefile_in 10 Jul 2013 16:02:33 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- tests/Makefile.in.orig Wed Jul 10 17:58:08 2013 ++++ tests/Makefile.in Wed Jul 10 17:58:34 2013 +@@ -228,7 +228,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT ++AM_CFLAGS = -Wall -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT + LIBJSON_LA = $(top_builddir)/libjson-c.la + test1_LDADD = $(LIBJSON_LA) + test1Formatted_LDADD = $(LIBJSON_LA)