UPDATE: devel/cppcheck 1.87 -> 1.88

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: devel/cppcheck 1.87 -> 1.88

Hiltjo Posthuma
Hi,

The patch below updates cppcheck from 1.87 to 1.88.

Briefly tested on amd64.


diff --git devel/cppcheck/Makefile devel/cppcheck/Makefile
index 66784b2ae67..8070899bacf 100644
--- devel/cppcheck/Makefile
+++ devel/cppcheck/Makefile
@@ -2,7 +2,7 @@
 
 COMMENT = C/C++ static checker
 
-DISTNAME = cppcheck-1.87
+DISTNAME = cppcheck-1.88
 
 CATEGORIES = devel
 
diff --git devel/cppcheck/distinfo devel/cppcheck/distinfo
index 11703cfc8ea..830371c0593 100644
--- devel/cppcheck/distinfo
+++ devel/cppcheck/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cppcheck-1.87.tar.gz) = l3Kvafz4K6U0IZLHXh5hBXtHMlvS0veM6k49Np/QCDw=
-SIZE (cppcheck-1.87.tar.gz) = 2243258
+SHA256 (cppcheck-1.88.tar.gz) = ejNcggPYFaUhU/IYPfvfUEHv+BhNH/V9XviQNdmMZjs=
+SIZE (cppcheck-1.88.tar.gz) = 2364053
diff --git devel/cppcheck/pkg/PLIST devel/cppcheck/pkg/PLIST
index 4ed573e752e..f520a275fdd 100644
--- devel/cppcheck/pkg/PLIST
+++ devel/cppcheck/pkg/PLIST
@@ -8,18 +8,24 @@ share/cppcheck/cfg/boost.cfg
 share/cppcheck/cfg/bsd.cfg
 share/cppcheck/cfg/cppcheck-cfg.rng
 share/cppcheck/cfg/cppcheck-lib.cfg
+share/cppcheck/cfg/cppunit.cfg
+share/cppcheck/cfg/daca.cfg
 share/cppcheck/cfg/embedded_sql.cfg
 share/cppcheck/cfg/gnu.cfg
 share/cppcheck/cfg/googletest.cfg
 share/cppcheck/cfg/gtk.cfg
+share/cppcheck/cfg/libcerror.cfg
 share/cppcheck/cfg/microsoft_sal.cfg
 share/cppcheck/cfg/motif.cfg
+share/cppcheck/cfg/nspr.cfg
+share/cppcheck/cfg/opengl.cfg
 share/cppcheck/cfg/posix.cfg
 share/cppcheck/cfg/python.cfg
 share/cppcheck/cfg/qt.cfg
 share/cppcheck/cfg/ruby.cfg
 share/cppcheck/cfg/sdl.cfg
 share/cppcheck/cfg/sfml.cfg
+share/cppcheck/cfg/sqlite3.cfg
 share/cppcheck/cfg/std.cfg
 share/cppcheck/cfg/tinyxml2.cfg
 share/cppcheck/cfg/windows.cfg

--
Kind regards,
Hiltjo

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: devel/cppcheck 1.87 -> 1.88

Jonathan Gray-11
On Tue, Aug 27, 2019 at 06:53:16PM +0200, Hiltjo Posthuma wrote:
> Hi,
>
> The patch below updates cppcheck from 1.87 to 1.88.
>
> Briefly tested on amd64.

here is 1.89

default output format changed, for previous style --template=cppcheck1

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- Makefile 12 Jul 2019 20:44:06 -0000 1.55
+++ Makefile 3 Sep 2019 07:13:22 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = C/C++ static checker
 
-DISTNAME = cppcheck-1.87
+DISTNAME = cppcheck-1.89
 
 CATEGORIES = devel
 
@@ -27,10 +27,10 @@ TEST_TARGET = test
 TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
 
 # -Ilib before PREFIX/include to avoid picking up header from devel/check
-MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
- CFGDIR=${PREFIX}/share/cppcheck/cfg \
+MAKE_FLAGS = BIN=${PREFIX}/bin HAVE_RULES=yes \
+ FILESDIR=${PREFIX}/share/cppcheck \
  CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11" \
- CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
+ CPPFLAGS="-DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
  LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo"
 
 MODULES = lang/python
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo 5 Mar 2019 00:19:27 -0000 1.41
+++ distinfo 3 Sep 2019 07:01:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (cppcheck-1.87.tar.gz) = l3Kvafz4K6U0IZLHXh5hBXtHMlvS0veM6k49Np/QCDw=
-SIZE (cppcheck-1.87.tar.gz) = 2243258
+SHA256 (cppcheck-1.89.tar.gz) = 7GuJLyiPqIJr3aJUkSEhoFigZSYiKoErNibFpl2XMH4=
+SIZE (cppcheck-1.89.tar.gz) = 2455141
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- pkg/PLIST 5 Mar 2019 00:19:27 -0000 1.13
+++ pkg/PLIST 3 Sep 2019 07:07:36 -0000
@@ -8,18 +8,27 @@ share/cppcheck/cfg/boost.cfg
 share/cppcheck/cfg/bsd.cfg
 share/cppcheck/cfg/cppcheck-cfg.rng
 share/cppcheck/cfg/cppcheck-lib.cfg
+share/cppcheck/cfg/cppunit.cfg
+share/cppcheck/cfg/daca.cfg
 share/cppcheck/cfg/embedded_sql.cfg
 share/cppcheck/cfg/gnu.cfg
 share/cppcheck/cfg/googletest.cfg
 share/cppcheck/cfg/gtk.cfg
+share/cppcheck/cfg/libcerror.cfg
+share/cppcheck/cfg/libcurl.cfg
+share/cppcheck/cfg/lua.cfg
 share/cppcheck/cfg/microsoft_sal.cfg
 share/cppcheck/cfg/motif.cfg
+share/cppcheck/cfg/nspr.cfg
+share/cppcheck/cfg/opengl.cfg
+share/cppcheck/cfg/openmp.cfg
 share/cppcheck/cfg/posix.cfg
 share/cppcheck/cfg/python.cfg
 share/cppcheck/cfg/qt.cfg
 share/cppcheck/cfg/ruby.cfg
 share/cppcheck/cfg/sdl.cfg
 share/cppcheck/cfg/sfml.cfg
+share/cppcheck/cfg/sqlite3.cfg
 share/cppcheck/cfg/std.cfg
 share/cppcheck/cfg/tinyxml2.cfg
 share/cppcheck/cfg/windows.cfg

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: devel/cppcheck 1.87 -> 1.88

Hiltjo Posthuma
On Tue, Sep 03, 2019 at 06:00:15PM +1000, Jonathan Gray wrote:

> On Tue, Aug 27, 2019 at 06:53:16PM +0200, Hiltjo Posthuma wrote:
> > Hi,
> >
> > The patch below updates cppcheck from 1.87 to 1.88.
> >
> > Briefly tested on amd64.
>
> here is 1.89
>
> default output format changed, for previous style --template=cppcheck1
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/Makefile,v
> retrieving revision 1.55
> diff -u -p -r1.55 Makefile
> --- Makefile 12 Jul 2019 20:44:06 -0000 1.55
> +++ Makefile 3 Sep 2019 07:13:22 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT = C/C++ static checker
>  
> -DISTNAME = cppcheck-1.87
> +DISTNAME = cppcheck-1.89
>  
>  CATEGORIES = devel
>  
> @@ -27,10 +27,10 @@ TEST_TARGET = test
>  TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
>  
>  # -Ilib before PREFIX/include to avoid picking up header from devel/check
> -MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
> - CFGDIR=${PREFIX}/share/cppcheck/cfg \
> +MAKE_FLAGS = BIN=${PREFIX}/bin HAVE_RULES=yes \
> + FILESDIR=${PREFIX}/share/cppcheck \
>   CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11" \
> - CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
> + CPPFLAGS="-DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
>   LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo"
>  
>  MODULES = lang/python
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/distinfo,v
> retrieving revision 1.41
> diff -u -p -r1.41 distinfo
> --- distinfo 5 Mar 2019 00:19:27 -0000 1.41
> +++ distinfo 3 Sep 2019 07:01:36 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (cppcheck-1.87.tar.gz) = l3Kvafz4K6U0IZLHXh5hBXtHMlvS0veM6k49Np/QCDw=
> -SIZE (cppcheck-1.87.tar.gz) = 2243258
> +SHA256 (cppcheck-1.89.tar.gz) = 7GuJLyiPqIJr3aJUkSEhoFigZSYiKoErNibFpl2XMH4=
> +SIZE (cppcheck-1.89.tar.gz) = 2455141
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
> retrieving revision 1.13
> diff -u -p -r1.13 PLIST
> --- pkg/PLIST 5 Mar 2019 00:19:27 -0000 1.13
> +++ pkg/PLIST 3 Sep 2019 07:07:36 -0000
> @@ -8,18 +8,27 @@ share/cppcheck/cfg/boost.cfg
>  share/cppcheck/cfg/bsd.cfg
>  share/cppcheck/cfg/cppcheck-cfg.rng
>  share/cppcheck/cfg/cppcheck-lib.cfg
> +share/cppcheck/cfg/cppunit.cfg
> +share/cppcheck/cfg/daca.cfg
>  share/cppcheck/cfg/embedded_sql.cfg
>  share/cppcheck/cfg/gnu.cfg
>  share/cppcheck/cfg/googletest.cfg
>  share/cppcheck/cfg/gtk.cfg
> +share/cppcheck/cfg/libcerror.cfg
> +share/cppcheck/cfg/libcurl.cfg
> +share/cppcheck/cfg/lua.cfg
>  share/cppcheck/cfg/microsoft_sal.cfg
>  share/cppcheck/cfg/motif.cfg
> +share/cppcheck/cfg/nspr.cfg
> +share/cppcheck/cfg/opengl.cfg
> +share/cppcheck/cfg/openmp.cfg
>  share/cppcheck/cfg/posix.cfg
>  share/cppcheck/cfg/python.cfg
>  share/cppcheck/cfg/qt.cfg
>  share/cppcheck/cfg/ruby.cfg
>  share/cppcheck/cfg/sdl.cfg
>  share/cppcheck/cfg/sfml.cfg
> +share/cppcheck/cfg/sqlite3.cfg
>  share/cppcheck/cfg/std.cfg
>  share/cppcheck/cfg/tinyxml2.cfg
>  share/cppcheck/cfg/windows.cfg
>

Thanks. Briedly tested on amd64 and it works.

--
Kind regards,
Hiltjo

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: devel/cppcheck 1.87 -> 1.88

Gleydson Soares-2
In reply to this post by Jonathan Gray-11
On Tue, Sep 03, 2019 at 06:00:15PM +1000, Jonathan Gray wrote:

> On Tue, Aug 27, 2019 at 06:53:16PM +0200, Hiltjo Posthuma wrote:
> > Hi,
> >
> > The patch below updates cppcheck from 1.87 to 1.88.
> >
> > Briefly tested on amd64.
>
> here is 1.89
>
> default output format changed, for previous style --template=cppcheck1

Testing Complete
Number of tests: 3438
Number of todos: 179
Tests failed: 0

OK gsoares@

>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/Makefile,v
> retrieving revision 1.55
> diff -u -p -r1.55 Makefile
> --- Makefile 12 Jul 2019 20:44:06 -0000 1.55
> +++ Makefile 3 Sep 2019 07:13:22 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT = C/C++ static checker
>  
> -DISTNAME = cppcheck-1.87
> +DISTNAME = cppcheck-1.89
>  
>  CATEGORIES = devel
>  
> @@ -27,10 +27,10 @@ TEST_TARGET = test
>  TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
>  
>  # -Ilib before PREFIX/include to avoid picking up header from devel/check
> -MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
> - CFGDIR=${PREFIX}/share/cppcheck/cfg \
> +MAKE_FLAGS = BIN=${PREFIX}/bin HAVE_RULES=yes \
> + FILESDIR=${PREFIX}/share/cppcheck \
>   CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11" \
> - CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
> + CPPFLAGS="-DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
>   LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo"
>  
>  MODULES = lang/python
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/distinfo,v
> retrieving revision 1.41
> diff -u -p -r1.41 distinfo
> --- distinfo 5 Mar 2019 00:19:27 -0000 1.41
> +++ distinfo 3 Sep 2019 07:01:36 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (cppcheck-1.87.tar.gz) = l3Kvafz4K6U0IZLHXh5hBXtHMlvS0veM6k49Np/QCDw=
> -SIZE (cppcheck-1.87.tar.gz) = 2243258
> +SHA256 (cppcheck-1.89.tar.gz) = 7GuJLyiPqIJr3aJUkSEhoFigZSYiKoErNibFpl2XMH4=
> +SIZE (cppcheck-1.89.tar.gz) = 2455141
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
> retrieving revision 1.13
> diff -u -p -r1.13 PLIST
> --- pkg/PLIST 5 Mar 2019 00:19:27 -0000 1.13
> +++ pkg/PLIST 3 Sep 2019 07:07:36 -0000
> @@ -8,18 +8,27 @@ share/cppcheck/cfg/boost.cfg
>  share/cppcheck/cfg/bsd.cfg
>  share/cppcheck/cfg/cppcheck-cfg.rng
>  share/cppcheck/cfg/cppcheck-lib.cfg
> +share/cppcheck/cfg/cppunit.cfg
> +share/cppcheck/cfg/daca.cfg
>  share/cppcheck/cfg/embedded_sql.cfg
>  share/cppcheck/cfg/gnu.cfg
>  share/cppcheck/cfg/googletest.cfg
>  share/cppcheck/cfg/gtk.cfg
> +share/cppcheck/cfg/libcerror.cfg
> +share/cppcheck/cfg/libcurl.cfg
> +share/cppcheck/cfg/lua.cfg
>  share/cppcheck/cfg/microsoft_sal.cfg
>  share/cppcheck/cfg/motif.cfg
> +share/cppcheck/cfg/nspr.cfg
> +share/cppcheck/cfg/opengl.cfg
> +share/cppcheck/cfg/openmp.cfg
>  share/cppcheck/cfg/posix.cfg
>  share/cppcheck/cfg/python.cfg
>  share/cppcheck/cfg/qt.cfg
>  share/cppcheck/cfg/ruby.cfg
>  share/cppcheck/cfg/sdl.cfg
>  share/cppcheck/cfg/sfml.cfg
> +share/cppcheck/cfg/sqlite3.cfg
>  share/cppcheck/cfg/std.cfg
>  share/cppcheck/cfg/tinyxml2.cfg
>  share/cppcheck/cfg/windows.cfg