pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/qalculate qalculate: Explicitly use std::queue.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0705a46067f7
branches:  trunk
changeset: 444876:0705a46067f7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 14 11:20:05 2021 +0000

description:
qalculate: Explicitly use std::queue.

diffstat:

 math/qalculate/distinfo                                 |   3 ++-
 math/qalculate/patches/patch-libqalculate_Calculator.cc |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 29648bbabdfb -r 0705a46067f7 math/qalculate/distinfo
--- a/math/qalculate/distinfo   Thu Jan 14 10:19:21 2021 +0000
+++ b/math/qalculate/distinfo   Thu Jan 14 11:20:05 2021 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.26 2020/03/18 17:57:30 joerg Exp $
+$NetBSD: distinfo,v 1.27 2021/01/14 11:20:05 jperkin Exp $
 
 SHA1 (libqalculate-3.5.0a.tar.gz) = fcf76bc5a74236bff5b6ae6f0543ab13296bc34d
 RMD160 (libqalculate-3.5.0a.tar.gz) = 6152daebee96026ffae7349198e72f991d85f5eb
 SHA512 (libqalculate-3.5.0a.tar.gz) = 1af5cdbcac8161aaf3fec56830bebd933b60537d1a27beab01039a4232e20e54c044c799cb1681d31b63c1b8a31f5902bcfa328a25f313566bf6171577430071
 Size (libqalculate-3.5.0a.tar.gz) = 2126070 bytes
 SHA1 (patch-configure.ac) = f5241d62bbc3f278d30813d8305c28c10b207b00
+SHA1 (patch-libqalculate_Calculator.cc) = d44b7849c5d9385a44d974f48cc968e357e68ea3
 SHA1 (patch-libqalculate_Number.cc) = 12fe1a6be524c0a1cf34c02f97ac862138c5ab91
 SHA1 (patch-libqalculate_util.cc) = 300e2dd75c28ae2fdfb95ece96b400d5d67a3aac
diff -r 29648bbabdfb -r 0705a46067f7 math/qalculate/patches/patch-libqalculate_Calculator.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/qalculate/patches/patch-libqalculate_Calculator.cc   Thu Jan 14 11:20:05 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libqalculate_Calculator.cc,v 1.1 2021/01/14 11:20:05 jperkin Exp $
+
+Explicitly use std::queue.
+
+--- libqalculate/Calculator.cc.orig    2019-10-22 16:35:55.000000000 +0000
++++ libqalculate/Calculator.cc
+@@ -115,6 +115,8 @@ long int usecs, secs, usecs2, usecs3;
+ #define ADD_TIME1 gettimeofday(&tvtime, NULL); usecs2 = tvtime.tv_usec - usecs + (tvtime.tv_sec - secs) * 1000000; 
+ #define ADD_TIME2 gettimeofday(&tvtime, NULL); usecs3 += tvtime.tv_usec - usecs + (tvtime.tv_sec - secs) * 1000000 - usecs2; */
+ 
++using std::queue;
++
+ typedef void (*CREATEPLUG_PROC)();
+ 
+ PlotParameters::PlotParameters() {



Home | Main Index | Thread Index | Old Index