Below is a diff which let's devel/json-c build on gcc3 archs. On gcc4, -Wextra and -W is the same. OK?
martin Index: Makefile =================================================================== RCS file: /cvs/ports/devel/json-c/Makefile,v retrieving revision 1.8 diff -u -p -u -p -r1.8 Makefile --- Makefile 7 Aug 2013 15:37:09 -0000 1.8 +++ Makefile 29 Aug 2013 14:03:01 -0000 @@ -3,6 +3,7 @@ COMMENT= JSON implementation in C DISTNAME = json-c-0.11 +REVISION= 0 CATEGORIES= devel SHARED_LIBS += json 2.0 # 1.0 SHARED_LIBS += json-c 0.0 # 2.1 --- /dev/null Thu Aug 29 16:03:51 2013 +++ patches/patch-Makefile_in Thu Aug 29 15:24:13 2013 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Aug 4 10:11:43 2013 ++++ Makefile.in Sun Aug 4 10:12:03 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 -Werror -W -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)