pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/qalculate



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 14 11:20:05 UTC 2021

Modified Files:
        pkgsrc/math/qalculate: distinfo
Added Files:
        pkgsrc/math/qalculate/patches: patch-libqalculate_Calculator.cc

Log Message:
qalculate: Explicitly use std::queue.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/math/qalculate/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/qalculate/patches/patch-libqalculate_Calculator.cc

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

Modified files:

Index: pkgsrc/math/qalculate/distinfo
diff -u pkgsrc/math/qalculate/distinfo:1.26 pkgsrc/math/qalculate/distinfo:1.27
--- pkgsrc/math/qalculate/distinfo:1.26 Wed Mar 18 17:57:30 2020
+++ pkgsrc/math/qalculate/distinfo      Thu Jan 14 11:20:05 2021
@@ -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

Added files:

Index: pkgsrc/math/qalculate/patches/patch-libqalculate_Calculator.cc
diff -u /dev/null pkgsrc/math/qalculate/patches/patch-libqalculate_Calculator.cc:1.1
--- /dev/null   Thu Jan 14 11:20:05 2021
+++ pkgsrc/math/qalculate/patches/patch-libqalculate_Calculator.cc      Thu Jan 14 11:20:05 2021
@@ -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