update cppcheck to 1.72 regress OK and works fine here. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cppcheck/Makefile,v retrieving revision 1.31 diff -u -p -r1.31 Makefile --- Makefile 26 Nov 2015 04:18:50 -0000 1.31 +++ Makefile 12 Jan 2016 23:21:35 -0000 @@ -2,7 +2,7 @@ COMMENT = C/C++ static checker -DISTNAME = cppcheck-1.71 +DISTNAME = cppcheck-1.72 CATEGORIES = devel Index: distinfo =================================================================== RCS file: /cvs/ports/devel/cppcheck/distinfo,v retrieving revision 1.25 diff -u -p -r1.25 distinfo --- distinfo 26 Nov 2015 04:18:50 -0000 1.25 +++ distinfo 12 Jan 2016 23:21:35 -0000 @@ -1,2 +1,2 @@ -SHA256 (cppcheck-1.71.tar.gz) = qHaOH+71yvpeLbzpL7r5W3C0RX6o4e07rVIADSKG08g= -SIZE (cppcheck-1.71.tar.gz) = 1465916 +SHA256 (cppcheck-1.72.tar.gz) = RZEIyB6mB8i9PahC2DmQ1lVeA1HQ/kuyHCxyEQJ085M= +SIZE (cppcheck-1.72.tar.gz) = 1464117 cvs server: Diffing patches Index: patches/patch-cli_cppcheckexecutor_cpp =================================================================== RCS file: /cvs/ports/devel/cppcheck/patches/patch-cli_cppcheckexecutor_cpp,v retrieving revision 1.3 diff -u -p -r1.3 patch-cli_cppcheckexecutor_cpp --- patches/patch-cli_cppcheckexecutor_cpp 7 Jan 2015 04:15:51 -0000 1.3 +++ patches/patch-cli_cppcheckexecutor_cpp 12 Jan 2016 23:21:35 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-cli_cppcheckexecutor_cpp,v 1.3 2015/01/07 04:15:51 jsg Exp $ ---- cli/cppcheckexecutor.cpp.orig Sun Jan 4 02:59:04 2015 -+++ cli/cppcheckexecutor.cpp Sun Jan 4 02:59:11 2015 -@@ -42,10 +42,9 @@ +--- cli/cppcheckexecutor.cpp.orig Sat Jan 9 10:50:01 2016 ++++ cli/cppcheckexecutor.cpp Tue Jan 12 20:02:58 2016 +@@ -41,10 +41,9 @@ # define _XOPEN_SOURCE // ucontext.h APIs can only be used on Mac OSX >= 10.7 if _XOPEN_SOURCE is defined # include <ucontext.h> # undef _XOPEN_SOURCE