Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/bc-gh math/bc-gh: Update to 3.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc79a25082ac
branches:  trunk
changeset: 435492:fc79a25082ac
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Jul 08 13:58:14 2020 +0000

description:
math/bc-gh: Update to 3.1.1

Notable upstream changes:

## 3.1.0

The behavior that was adjusted was how code from the `-e` and `-f` arguments
(and equivalents) were executed. They used to be executed as one big chunk, but
in this release, they are now executed line-by-line.

The first bug fix in how output to `stdout` was handled in `SIGINT`. If a
`SIGINT` came in, the `stdout` buffer was not correctly flushed. In fact, a
clean-up function was not getting called. This release fixes that bug.

The second bug is in how `dc` handled input from `stdin`. This affected `bc` as
well since it was a mishandling of the `stdin` buffer.

The third fixed bug was that `bc` and `dc` could `abort()` (in debug mode) when
receiving a `SIGTERM`. This one was a race condition with pushing and popping
items onto and out of vectors.

The fourth bug fixed was that `bc` could leave extra items on the stack and
thus, not properly clean up some memory. (The memory would still get
`free()`'ed, but it would not be `free()`'ed when it could have been.)

The next two bugs were bugs in `bc`'s parser that caused crashes when executing
the resulting code.

The last two bugs were crashes in `dc` that resulted from mishandling of
strings.

## 3.0.2

This is a production release that adds `utf8` locale symlinks and removes an
unused `auto` variable from the `ceil()` function in the [extended math
library][16].

## 3.0.1

The second change is to make the new implementation of `ceil()` in `lib2.bc`
much more efficient.

diffstat:

 math/bc-gh/Makefile |   5 ++---
 math/bc-gh/PLIST    |   4 +++-
 math/bc-gh/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r 23fcdd4e2305 -r fc79a25082ac math/bc-gh/Makefile
--- a/math/bc-gh/Makefile       Wed Jul 08 13:57:56 2020 +0000
+++ b/math/bc-gh/Makefile       Wed Jul 08 13:58:14 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2020/07/08 13:48:55 gdt Exp $
+# $NetBSD: Makefile,v 1.7 2020/07/08 13:58:14 gdt Exp $
 
-VERSION=       3.0.0
+VERSION=       3.1.1
 DISTNAME=      bc-${VERSION}
 PKGNAME=       bc-gh-${VERSION}
-PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gavinhoward/}
 GITHUB_PROJECT=        bc
diff -r 23fcdd4e2305 -r fc79a25082ac math/bc-gh/PLIST
--- a/math/bc-gh/PLIST  Wed Jul 08 13:57:56 2020 +0000
+++ b/math/bc-gh/PLIST  Wed Jul 08 13:58:14 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/07/08 13:48:55 gdt Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/07/08 13:58:14 gdt Exp $
 bin/bc-gh
 bin/dc-gh
 man/man1/bc-gh.1
@@ -36,6 +36,8 @@
 share/locale/en_US.US-ASCII/bc-gh
 share/locale/en_US.UTF-8/bc-gh
 share/locale/en_US/bc-gh
+share/locale/es_ES.ISO8859-1/bc-gh
+share/locale/es_ES.ISO8859-15/bc-gh
 share/locale/es_ES.UTF-8/bc-gh
 share/locale/fr_BE.ISO8859-1/bc-gh
 share/locale/fr_BE.ISO8859-15/bc-gh
diff -r 23fcdd4e2305 -r fc79a25082ac math/bc-gh/distinfo
--- a/math/bc-gh/distinfo       Wed Jul 08 13:57:56 2020 +0000
+++ b/math/bc-gh/distinfo       Wed Jul 08 13:58:14 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/06/19 18:04:05 gdt Exp $
+$NetBSD: distinfo,v 1.6 2020/07/08 13:58:14 gdt Exp $
 
-SHA1 (bc-3.0.0.tar.xz) = fb38d19ab90641d1c8324ef32ac30431837935ea
-RMD160 (bc-3.0.0.tar.xz) = 4364ec493901cf45cb6724dbc3bdb7cb84ad0232
-SHA512 (bc-3.0.0.tar.xz) = 4961e030274e763aa02541457aa5aab6cd0d61758861b98d2cdac6acc42c3fb55b6adba72749edd3b663225ab844d7ef60809972478992165b071645fe6af65f
-Size (bc-3.0.0.tar.xz) = 199304 bytes
+SHA1 (bc-3.1.1.tar.xz) = 02b380fae3ea3c6f3dcb9036e2cfbb0220442aeb
+RMD160 (bc-3.1.1.tar.xz) = fc40d42173dd91ebb12ea6c3c8c61995fcd0d653
+SHA512 (bc-3.1.1.tar.xz) = 1f770edf619ade8780d0a494934071bfa82d1298043459cab6e3db6a5617e6aad0d7193635c868ef0d0312b808027ad3734cb92b0c8eff826cd5a860eb3fe6d2
+Size (bc-3.1.1.tar.xz) = 209328 bytes



Home | Main Index | Thread Index | Old Index