pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cppcheck



Module Name:    pkgsrc
Committed By:   markd
Date:           Fri Jul  9 10:50:38 UTC 2021

Modified Files:
        pkgsrc/devel/cppcheck: distinfo
Added Files:
        pkgsrc/devel/cppcheck/patches: patch-lib_programmemory.cpp
            patch-lib_symboldatabase.cpp patch-test_testsymboldatabase.cpp

Log Message:
cppcheck: fix build with gcc-11


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/cppcheck/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp \
    pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp \
    pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cppcheck/distinfo
diff -u pkgsrc/devel/cppcheck/distinfo:1.16 pkgsrc/devel/cppcheck/distinfo:1.17
--- pkgsrc/devel/cppcheck/distinfo:1.16 Mon Jun 29 13:06:51 2020
+++ pkgsrc/devel/cppcheck/distinfo      Fri Jul  9 10:50:37 2021
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.16 2020/06/29 13:06:51 wiz Exp $
+$NetBSD: distinfo,v 1.17 2021/07/09 10:50:37 markd Exp $
 
 SHA1 (cppcheck-2.1.tar.bz2) = 3cf4c1bc20d25f8876fdc78cdb19586561dda470
 RMD160 (cppcheck-2.1.tar.bz2) = b35d3e49ab0b833f7a7a5e6dba796702975c8866
 SHA512 (cppcheck-2.1.tar.bz2) = ddf10ea394fc7e862fefb4380e5aa4cdece4d9b135dc959c6e37c6dbdd85c77c4e3f4eac3af1b51415543eb16d3e225694963658530241250835586983dba4ae
 Size (cppcheck-2.1.tar.bz2) = 2480943 bytes
+SHA1 (patch-lib_programmemory.cpp) = 8ff73bfbfc6227697a7c0c06f4ad72b5aff54e24
+SHA1 (patch-lib_symboldatabase.cpp) = fc25ee06f9c0388214547b762c1b24740e4a4bb5
+SHA1 (patch-test_testsymboldatabase.cpp) = 3fbd081cba3ad3d0f0e41df0c78f41d92ba5da77

Added files:

Index: pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp
diff -u /dev/null pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp:1.1
--- /dev/null   Fri Jul  9 10:50:38 2021
+++ pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp   Fri Jul  9 10:50:37 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_programmemory.cpp,v 1.1 2021/07/09 10:50:37 markd Exp $
+
+gcc11 build fix
+
+--- lib/programmemory.cpp.orig 2020-06-13 16:08:37.000000000 +0000
++++ lib/programmemory.cpp
+@@ -5,6 +5,7 @@
+ #include "symboldatabase.h"
+ #include <algorithm>
+ #include <cassert>
++#include <limits>
+ 
+ void ProgramMemory::setValue(nonneg int varid, const ValueFlow::Value &value)
+ {
Index: pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp
diff -u /dev/null pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp:1.1
--- /dev/null   Fri Jul  9 10:50:38 2021
+++ pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp  Fri Jul  9 10:50:37 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_symboldatabase.cpp,v 1.1 2021/07/09 10:50:37 markd Exp $
+
+gcc11 build fix
+
+--- lib/symboldatabase.cpp.orig        2020-06-13 16:08:37.000000000 +0000
++++ lib/symboldatabase.cpp
+@@ -32,6 +32,7 @@
+ #include <algorithm>
+ #include <cassert>
+ #include <climits>
++#include <limits>
+ #include <iomanip>
+ #include <iostream>
+ //---------------------------------------------------------------------------
Index: pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp
diff -u /dev/null pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp:1.1
--- /dev/null   Fri Jul  9 10:50:38 2021
+++ pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp     Fri Jul  9 10:50:37 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-test_testsymboldatabase.cpp,v 1.1 2021/07/09 10:50:37 markd Exp $
+
+gcc11 build fix
+
+--- test/testsymboldatabase.cpp.orig   2020-06-13 16:08:37.000000000 +0000
++++ test/testsymboldatabase.cpp
+@@ -31,6 +31,7 @@
+ #include <cstddef>
+ #include <cstdint>
+ #include <cstring>
++#include <limits>
+ #include <list>
+ #include <map>
+ #include <set>



Home | Main Index | Thread Index | Old Index