summaryrefslogtreecommitdiff
path: root/devel/cppcheck
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-12-15 13:01:38 +0000
committerwiz <wiz@pkgsrc.org>2010-12-15 13:01:38 +0000
commitc48df617e60476a9d00ea1c483769528654c5a18 (patch)
tree1eda50c52c8e67f4f5c809d8a13f0048ee310f06 /devel/cppcheck
parent3f4ebe5d98e3efe74ad5e8b3f2206c0f9ec3a74a (diff)
downloadpkgsrc-c48df617e60476a9d00ea1c483769528654c5a18.tar.gz
Update to 1.46.1:
Release notes for 1.46 This release has improvements and bug fixes. We fixed 153 tickets, and that is a somewhat "usual" number for a Cppcheck release. The report has been improved. New severities were added to make the messages more informational. The possible severities are now: * error * warning * style * performance This has no effect on the command line flags nor the xml report. The command line flags and the xml report is fully compatible with previous versions. These are the new checks that were added: * detect dangerous usage of string::c_str() * warn for unused variable when only doing malloc/free * warn when assert has side effects * warn for mutual exclusion over ||. The condition is always false. Example: 'if (x != 1 || x != 4)' More details about all the fixed tickets can be found here: http://sourceforge.net/apps/trac/cppcheck/milestone/1.46 Release notes for 1.46.1 Fix segmentation fault.
Diffstat (limited to 'devel/cppcheck')
-rw-r--r--devel/cppcheck/Makefile6
-rw-r--r--devel/cppcheck/distinfo8
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile
index f215add3234..8c4106cbec5 100644
--- a/devel/cppcheck/Makefile
+++ b/devel/cppcheck/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2010/11/15 22:56:36 abs Exp $
+# $NetBSD: Makefile,v 1.7 2010/12/15 13:01:38 wiz Exp $
#
-DISTNAME= cppcheck-1.42
-PKGREVISION= 2
+DISTNAME= cppcheck-1.46.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
EXTRACT_SUFX= .tar.bz2
@@ -18,6 +17,7 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c++
+USE_TOOLS+= gmake
BUILDLINK_TRANSFORM+= rm:-Wlogical-op
diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo
index 00236fd09a6..ea9e4f94508 100644
--- a/devel/cppcheck/distinfo
+++ b/devel/cppcheck/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2010/05/02 10:54:40 wiz Exp $
+$NetBSD: distinfo,v 1.3 2010/12/15 13:01:38 wiz Exp $
-SHA1 (cppcheck-1.42.tar.bz2) = e2d5390230f23ac6a946fbd515ad304c4ab5d8d1
-RMD160 (cppcheck-1.42.tar.bz2) = a9d5103edadb7fe3493a212965472bbe0f4fdeff
-Size (cppcheck-1.42.tar.bz2) = 482465 bytes
+SHA1 (cppcheck-1.46.1.tar.bz2) = fb1bc1b44341c8fd111e06c217c91f108142b71c
+RMD160 (cppcheck-1.46.1.tar.bz2) = 5a82adb010c9bee0e96d2ac1fddd4b5fc4f7ad5c
+Size (cppcheck-1.46.1.tar.bz2) = 676586 bytes