Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package calc for openSUSE:Factory checked in 
at 2023-06-01 17:19:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calc (Old)
 and      /work/SRC/openSUSE:Factory/.calc.new.2531 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "calc"

Thu Jun  1 17:19:47 2023 rev:35 rq:1090155 version:2.14.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/calc/calc.changes        2023-03-14 
18:17:29.816005135 +0100
+++ /work/SRC/openSUSE:Factory/.calc.new.2531/calc.changes      2023-06-01 
17:20:00.482333821 +0200
@@ -1,0 +2,20 @@
+Thu Jun  1 06:46:45 UTC 2023 - Michael Vetter <[email protected]>
+
+- Update to 2.14.1.6:
+  * Fixed version numbers in two cases in CHANGES that referred
+    to the 2.14.2.x instead of 2.14.1.x.
+  * Rename MINGW Makefile variable (a holdover from MINGW32_NT-5.0)
+    to OSNAME.
+  * Fixed FUNCPTR typedef in hist.c to fix deprecated compiler warnings.
+  * Fixed when USE_READLINE, READLINE_LIB, READLINE_EXTRAS, and
+    READLINE_INCLUDE are set to empty (disable use of the GNU-readline
+    facility).
+  * Fix cases of spaces before tabs in Makefile and Makefile.simple.
+  * Fixed obsolete references to the atoz() in LIBRARY to use the
+    correct internal function name of str2z().
+  * Fixed obsolete references to the atoq() in LIBRARY to use the
+    correct internal function name of str2q().
+  * Document in help/unexpected that * operator has has a higher
+    precedence than << in calc, which differs from C.
+
+-------------------------------------------------------------------

Old:
----
  calc-2.14.1.5.tar.bz2

New:
----
  calc-2.14.1.6.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ calc.spec ++++++
--- /var/tmp/diff_new_pack.xH6FBo/_old  2023-06-01 17:20:01.854341954 +0200
+++ /var/tmp/diff_new_pack.xH6FBo/_new  2023-06-01 17:20:01.894342192 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define soname 2_14_1_5
+%define soname 2_14_1_6
 %define libname libcalc%{soname}
 Name:           calc
-Version:        2.14.1.5
+Version:        2.14.1.6
 Release:        0
 Summary:        C-style arbitrary precision calculator
 License:        LGPL-2.1-only

++++++ calc-2.14.1.5.tar.bz2 -> calc-2.14.1.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/CHANGES new/calc-2.14.1.6/CHANGES
--- old/calc-2.14.1.5/CHANGES   2023-03-13 03:23:09.000000000 +0100
+++ new/calc-2.14.1.6/CHANGES   2023-06-01 03:51:52.000000000 +0200
@@ -14,6 +14,16 @@
 
     Fix cases of spaces before tabs in Makefile and Makefile.simple.
 
+    Fixed obsolete references to the atoz() in LIBRARY to use the
+    correct internal function name of str2z().
+
+    Fixed obsolete references to the atoq() in LIBRARY to use the
+    correct internal function name of str2q().
+
+    Document in help/unexpected that * operator has has a higher
+    precedence than << in calc, which differs from C.  Thanks
+    goes to GitHub user @inguin for pointing put this difference.
+
 
 The following are the changes from calc version 2.14.1.3 to 2.14.1.4:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/LIBRARY new/calc-2.14.1.6/LIBRARY
--- old/calc-2.14.1.5/LIBRARY   2021-12-06 03:25:30.000000000 +0100
+++ new/calc-2.14.1.6/LIBRARY   2023-06-01 03:51:52.000000000 +0200
@@ -344,7 +344,7 @@
 
 For initial values besides 0 or 1, you need to call itoz to convert a long
 value into a ZVALUE, as shown in the above example.  Or alternatively,
-for larger numbers you can use the atoz routine to convert a string which
+for larger numbers you can use the str2z routine to convert a string which
 represents a number into a ZVALUE.  The string can be in decimal, octal,
 hex, or binary according to the leading digits.
 
@@ -357,7 +357,7 @@
        ZVALUE z1, z2, z3;
 
        z1 = _one_;
-       atoz("12345678987654321", &z2);
+       str2z("12345678987654321", &z2);
        zadd(z1, z2, &z3);
        zfree(z1);
        zfree(z2);
@@ -446,10 +446,10 @@
        itoz(55L, &q->num);
 
 A better way to create NUMBERs with particular values is to use the itoq,
-iitoq, or atoq functions.  Using itoq makes a long value into a NUMBER,
+iitoq, or str2q functions.  Using itoq makes a long value into a NUMBER,
 using iitoq makes a pair of longs into the numerator and denominator of a
-NUMBER (reducing them first if needed), and atoq converts a string representing
-a number into the corresponding NUMBER.         The atoq function accepts 
input in
+NUMBER (reducing them first if needed), and str2q converts a string 
representing
+a number into the corresponding NUMBER.         The str2q function accepts 
input in
 integral, fractional, real, or exponential formats.  Examples of allocating
 numbers are:
 
@@ -457,7 +457,7 @@
 
        q1 = itoq(66L);
        q2 = iitoq(2L, 3L);
-       q3 = atoq("456.78");
+       q3 = str2q("456.78");
 
 Also unlike ZVALUEs, NUMBERs are quickly copied.  This is because they contain
 a link count, which is the number of pointers there are to the NUMBER. The
@@ -504,8 +504,8 @@
 
        NUMBER *q, *ans, *epsilon;
 
-       q = atoq("0.5");
-       epsilon = atoq("1e-100");
+       q = str2q("0.5");
+       epsilon = str2q("1e-100");
        ans = qsin(q, epsilon);
 
 There are many convenience macros similar to the ones for ZVALUEs which can
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/Makefile new/calc-2.14.1.6/Makefile
--- old/calc-2.14.1.5/Makefile  2023-03-13 04:50:51.000000000 +0100
+++ new/calc-2.14.1.6/Makefile  2023-06-01 03:54:46.000000000 +0200
@@ -1381,7 +1381,7 @@
 
 # The default calc versions
 #
-VERSION= 2.14.1.5
+VERSION= 2.14.1.6
 
 # Names of shared libraries with versions
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/Makefile.simple 
new/calc-2.14.1.6/Makefile.simple
--- old/calc-2.14.1.5/Makefile.simple   2023-03-13 04:50:51.000000000 +0100
+++ new/calc-2.14.1.6/Makefile.simple   2023-06-01 03:54:46.000000000 +0200
@@ -1239,7 +1239,7 @@
 
 # The default calc versions
 #
-VERSION= 2.14.1.5
+VERSION= 2.14.1.6
 
 # Names of shared libraries with versions
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/custom/Makefile 
new/calc-2.14.1.6/custom/Makefile
--- old/calc-2.14.1.5/custom/Makefile   2023-03-13 04:50:51.000000000 +0100
+++ new/calc-2.14.1.6/custom/Makefile   2023-06-01 03:54:46.000000000 +0200
@@ -475,7 +475,7 @@
 
 # The default calc versions
 #
-VERSION= 2.14.1.5
+VERSION= 2.14.1.6
 
 # Names of shared libraries with versions
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/custom/Makefile.simple 
new/calc-2.14.1.6/custom/Makefile.simple
--- old/calc-2.14.1.5/custom/Makefile.simple    2023-03-13 04:50:51.000000000 
+0100
+++ new/calc-2.14.1.6/custom/Makefile.simple    2023-06-01 03:54:46.000000000 
+0200
@@ -445,7 +445,7 @@
 
 # The default calc versions
 #
-VERSION= 2.14.1.5
+VERSION= 2.14.1.6
 
 # Names of shared libraries with versions
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/help/unexpected 
new/calc-2.14.1.6/help/unexpected
--- old/calc-2.14.1.5/help/unexpected   2021-11-08 03:58:52.000000000 +0100
+++ new/calc-2.14.1.6/help/unexpected   2023-06-01 03:51:52.000000000 +0200
@@ -556,8 +556,14 @@
        ; print sin(d2r(30))
        0.5
 
+    * operator has has a higher precedence than <<
+    ==============================================
 
-## Copyright (C) 1999-2007,2014,2017,2021  Landon Curt Noll
+    The * operator has has a higher precedence than <<, which differs from the 
C language.
+    So 3 << 2*5 evaluates to 3072 in C, whereas 3 << 2*5 evaluates to 60 in 
calc.
+
+
+## Copyright (C) 1999-2007,2014,2017,2021,2023  Landon Curt Noll
 ##
 ## Calc is open software; you can redistribute it and/or modify it under
 ## the terms of the version 2.1 of the GNU Lesser General Public License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calc-2.14.1.5/version.c new/calc-2.14.1.6/version.c
--- old/calc-2.14.1.5/version.c 2023-03-13 04:50:34.000000000 +0100
+++ new/calc-2.14.1.6/version.c 2023-06-01 03:54:33.000000000 +0200
@@ -84,7 +84,7 @@
 #define MAJOR_VER      2       /* major library version */
 #define MINOR_VER      14      /* minor library version */
 #define MAJOR_PATCH    1       /* major software version level */
-#define MINOR_PATCH    5       /* minor software version level */
+#define MINOR_PATCH    6       /* minor software version level */
 
 
 /*

Reply via email to