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:   joerg
Date:           Wed Mar 18 17:57:31 UTC 2020

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

Log Message:
Help the compiler find the right insert


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/math/qalculate/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/qalculate/patches/patch-libqalculate_Number.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.25 pkgsrc/math/qalculate/distinfo:1.26
--- pkgsrc/math/qalculate/distinfo:1.25 Mon Dec  9 09:31:06 2019
+++ pkgsrc/math/qalculate/distinfo      Wed Mar 18 17:57:30 2020
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.25 2019/12/09 09:31:06 nros Exp $
+$NetBSD: distinfo,v 1.26 2020/03/18 17:57:30 joerg 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_Number.cc) = 12fe1a6be524c0a1cf34c02f97ac862138c5ab91
 SHA1 (patch-libqalculate_util.cc) = 300e2dd75c28ae2fdfb95ece96b400d5d67a3aac

Added files:

Index: pkgsrc/math/qalculate/patches/patch-libqalculate_Number.cc
diff -u /dev/null pkgsrc/math/qalculate/patches/patch-libqalculate_Number.cc:1.1
--- /dev/null   Wed Mar 18 17:57:31 2020
+++ pkgsrc/math/qalculate/patches/patch-libqalculate_Number.cc  Wed Mar 18 17:57:31 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-libqalculate_Number.cc,v 1.1 2020/03/18 17:57:31 joerg Exp $
+
+Ensure that the third argument is the base type of the string,
+so that insert is unambigous from the iterator variation.
+
+--- libqalculate/Number.cc.orig        2020-03-15 17:27:02.908147193 +0000
++++ libqalculate/Number.cc
+@@ -7723,7 +7723,7 @@ string Number::print(const PrintOptions 
+                       nra *= 26;
+                       nra = nr - nra;
+                       nr = nri;
+-                      str.insert(0, 1, ('A' + nra.intValue() - 1));
++                      str.insert(0, 1, char('A' + nra.intValue() - 1));
+               } while(!nr.isZero());
+               if(ips.minus) {
+                       *ips.minus = neg;



Home | Main Index | Thread Index | Old Index