Update to cppcheck 1.68. Release notes: http://sourceforge.net/p/cppcheck/news/2015/01/cppcheck-168/
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cppcheck/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile 24 Oct 2014 03:44:33 -0000 1.26 +++ Makefile 3 Jan 2015 15:43:44 -0000 @@ -2,7 +2,7 @@ COMMENT = C/C++ static checker -DISTNAME = cppcheck-1.67 +DISTNAME = cppcheck-1.68 CATEGORIES = devel Index: distinfo =================================================================== RCS file: /cvs/ports/devel/cppcheck/distinfo,v retrieving revision 1.21 diff -u -p -r1.21 distinfo --- distinfo 24 Oct 2014 03:44:33 -0000 1.21 +++ distinfo 3 Jan 2015 15:43:52 -0000 @@ -1,2 +1,2 @@ -SHA256 (cppcheck-1.67.tar.gz) = /PhfRHln/QleltQJ0Z9GMIcn/jUns0kkFv1KYCXxois= -SIZE (cppcheck-1.67.tar.gz) = 1378752 +SHA256 (cppcheck-1.68.tar.gz) = 75JS9y57H8IENF1TGOVgnTdw5hlkc8FFqE9YYvelI3o= +SIZE (cppcheck-1.68.tar.gz) = 1316595 --- /dev/null Sun Jan 4 03:12:06 2015 +++ patches/patch-cli_cppcheckexecutor_cpp Sun Jan 4 02:59:21 2015 @@ -0,0 +1,15 @@ +$OpenBSD$ +--- 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 @@ + # 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 +-#else +-# include <ucontext.h> + #endif + #ifdef __linux__ ++#include <ucontext.h> + #include <sys/syscall.h> + #include <sys/types.h> + #endif