From 728938a9ff9429d4081956d4ae63f5049fb53e38 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 2 May 2010 14:33:42 +0200 Subject: [PATCH] cppcheck: update to 1.42. --- srcpkgs/cppcheck/patches/Makefile_fix.diff | 16 +++++++--------- srcpkgs/cppcheck/template | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/srcpkgs/cppcheck/patches/Makefile_fix.diff b/srcpkgs/cppcheck/patches/Makefile_fix.diff index a297ad4ef73..fd08ee0d159 100644 --- a/srcpkgs/cppcheck/patches/Makefile_fix.diff +++ b/srcpkgs/cppcheck/patches/Makefile_fix.diff @@ -1,9 +1,6 @@ ---- Makefile.orig 2010-01-18 16:06:14.309966144 +0100 -+++ Makefile 2010-01-18 16:13:22.777964886 +0100 -@@ -1,12 +1,12 @@ --CXXFLAGS=-Wall -Wextra -pedantic -g -+CXXFLAGS=-Wall -Wextra -pedantic - CXX=g++ +--- Makefile.orig 2010-05-02 14:30:00.962750572 +0200 ++++ Makefile 2010-05-02 14:31:50.935750160 +0200 +@@ -3,10 +3,10 @@ CXX=g++ BIN=${DESTDIR}/usr/bin # For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml @@ -16,9 +13,9 @@ ###### Object Files -@@ -82,12 +82,14 @@ tools/dmake: tools/dmake.cpp lib/filelis +@@ -77,13 +77,14 @@ test: all clean: - rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck tools/dmake + rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck -man: $(MAN_SOURCE) - $(XP) $(DB2MAN) $(MAN_SOURCE) @@ -28,9 +25,10 @@ install: cppcheck install -d ${BIN} - install cppcheck ${BIN} +- + install -m755 cppcheck ${BIN} + install -d $(MANDIR)/man1 + install -m644 cppcheck.1 $(MANDIR)/man1 - ###### Build + diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index ee56191195c..d23fd5ed5a1 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,12 +1,12 @@ # Template file for 'cppcheck' pkgname=cppcheck -version=1.40 +version=1.42 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" build_style=gnu_makefile make_build_target="cppcheck cppcheck.1" short_desc="Static analysis of C/C++ code" maintainer="Juan RP " -checksum=77dc5dd758abc7497367f5f20a6af8e9ae3e460ac99c7813fec4e8aef089d439 +checksum=a3349315e6e30ae9ea189225750e6f08e4a647b459080d4846e3c4cf6751adf0 long_desc=" Cppcheck is a tool for static C/C++ code analysis, and it tries to detect bugs that your compiler do not see. Checks for: memory leaks,