pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49570: Update pkgsrc package 'cppcheck' to 1.68
>Number: 49570
>Category: pkg
>Synopsis: Update pkgsrc package 'cppcheck' to 1.68
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 14 21:35:00 +0000 2015
>Originator: Jonathan Buschmann
>Release:
>Organization:
>Environment:
>Description:
I've already contacted the maintainer of the package, but I've got no response as of today.
The patch attached update the package to latest version 1.68
------- Changelog ------
== Cppcheck-1.68 ==
General changes:
New checks:
- Multifile checking for buffer overruns and uninitialized variables
Improvements:
- Libraries are now able to contain platform specific types
- Improved handling of function overloads
- Improved handling of integer literal suffixes
- Improved stability of template parsing
- Improved accuracy of ValueFlow analysis
- Improved checking of pointer overflow
- Support noexcept(false)
- Support attribute((noreturn))
- A bunch of additions to several Libraries, especially posix.cfg and qt.cfg
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
== Cppcheck-1.67 ==
General changes:
- Library files have now a 'format' attribute. Format version 1 is assumed by default
- Cppcheck does no longer abort checking if unhandled characters (Non-ASCII) are found
New checks:
- Check for unused return values
- Detect shift by too many bits, signed integer overflow and dangerous sign conversion
- Recommend usage of expm1(), log1p(), erfc()
- Division by sizeof() as parameter to memset/memcpy/memmove/etc. as they expect a size in bytes
- Several new va_arg related checks:
-- Wrong parameter passed to va_start()
-- Reference passed to va_start()
-- Missing va_end()
-- Using va_list before it is opened
-- Subsequent calls to va_start/va_copy()
- Initialization by itself in initializer list
- Dead pointer usage when pointer alias local variable that has gone out of scope
Improvements:
- Support uniform initialization syntax (C++11)
- Much improvements to value flow analysis
- Improved AST creation (support placement new, C++-style casts, templates, operator new[], ...)
- Improved lambda support
- Support GCC extension attriute((used)) and MSVC extension __declspec(property)
- Better support for static member variables, inherited variables and namespaces
- Improved typedef support where multiple variables are declared at once
- Avoid checking code multiple times by calculating a checksum. Duplicate preprocessor configurations are eliminated by this.
- Support C++03/C 'auto' keyword
- HTML report: display 'verbose' message using clickable expandable divs
>How-To-Repeat:
>Fix:
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile
index 2759ea9..97d8362 100644
--- a/devel/cppcheck/Makefile
+++ b/devel/cppcheck/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.30 2014/08/07 11:35:10 wiz Exp $
-DISTNAME= cppcheck-1.66
+DISTNAME= cppcheck-1.68
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo
index 87becac..7c4a27b 100644
--- a/devel/cppcheck/distinfo
+++ b/devel/cppcheck/distinfo
@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.9 2014/08/10 08:21:46 wiz Exp $
-SHA1 (cppcheck-1.66.tar.bz2) = 2b24bc35b113ece52be277a8800dd9685ecb7fc7
-RMD160 (cppcheck-1.66.tar.bz2) = 09786b4b8f379ec099674fc6cb863a438fe31c02
-Size (cppcheck-1.66.tar.bz2) = 1064369 bytes
-SHA1 (patch-Makefile) = ad7e37e5cc22267a4524443d15f378d4a18cc444
+SHA1 (cppcheck-1.68.tar.bz2) = 5f24fe9441cd558863c770e3b230dcfaaa3d93d0
+RMD160 (cppcheck-1.68.tar.bz2) = f2162fc3072801a6cf517b728bb538e6bc53ef99
+Size (cppcheck-1.68.tar.bz2) = 1008321 bytes
diff --git a/devel/cppcheck/patches/patch-Makefile b/devel/cppcheck/patches/patch-Makefile
deleted file mode 100644
index 3675b18..0000000
--- a/devel/cppcheck/patches/patch-Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-Makefile,v 1.2 2014/08/10 08:21:46 wiz Exp $
-
-Fix DESTDIR installation of config files.
-http://5.150.254.56:443/trac-cppcheck/ticket/6043
-
---- Makefile.orig 2014-08-02 10:39:20.000000000 +0000
-+++ Makefile
-@@ -263,8 +263,8 @@ install: cppcheck
- install cppcheck ${BIN}
- install htmlreport/cppcheck-htmlreport ${BIN}
- ifdef CFGDIR
-- install -d ${CFGDIR}
-- install -m 644 cfg/* ${CFGDIR}
-+ install -d ${DESTDIR}${CFGDIR}
-+ install -m 644 cfg/* ${DESTDIR}${CFGDIR}
- endif
-
-
Home |
Main Index |
Thread Index |
Old Index