math/gh-bc: update to version 7.1.0

This fixes a few bugs:
- Improper response to double SIGINT with editline.
- Not letting libedit handle terminal size changes.
- A dc crash from improperly handling an error.
- A duplicate check for reference arrays.
- Build failures with GCC 15.

It also has a performance increase in the band() function and others
in the math library.
This commit is contained in:
Stefan Eßer 2025-08-16 10:57:50 +02:00
parent 5d47abdb67
commit 08f30a889b
3 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,12 @@
PORTNAME= bc
PORTVERSION= 7.0.3
PORTVERSION= 7.1.0
CATEGORIES= math lang
MASTER_SITES= https://github.com/gavinhoward/bc/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= gh-
MAINTAINER= se@FreeBSD.org
COMMENT= GNU compatible bc/dc calculator
WWW= https://git.gavinhoward.com/gavin/bc
WWW= https://github.com/gavinhoward/bc
LICENSE= BSD2CLAUSE MIT
LICENSE_COMB= multi

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1727212592
SHA256 (bc-7.0.3.tar.xz) = 91eb74caed0ee6655b669711a4f350c25579778694df248e28363318e03c7fc4
SIZE (bc-7.0.3.tar.xz) = 474800
TIMESTAMP = 1753705124
SHA256 (bc-7.1.0.tar.xz) = 1f13663ba0f2435b684321714a4d0b9fff32bb951fc78dc7424cd69bba5c0d3a
SIZE (bc-7.1.0.tar.xz) = 597940

View File

@ -1,6 +1,6 @@
--- scripts/locale_install.sh.orig 2023-02-02 08:17:33 UTC
--- scripts/locale_install.sh.orig 2024-09-24 03:54:03 UTC
+++ scripts/locale_install.sh
@@ -246,6 +246,7 @@ for file in $locales_dir/*.msg; do
@@ -247,6 +247,7 @@ for file in $locales_dir/*.msg; do
# Generate the proper location for the cat file.
loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec")
@ -8,7 +8,7 @@
gencatfile "$loc" "$file"
printf 'done\n'
@@ -289,8 +290,6 @@ for file in $locales_dir/*.msg; do
@@ -290,8 +291,6 @@ for file in $locales_dir/*.msg; do
linkdir=$(dirname "$file")
locale=$(basename "$link" .msg)
linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
@ -17,7 +17,7 @@
# If the target file doesn't exist (because it's for a locale that is
# not installed), generate it anyway. It's easier this way.
@@ -300,7 +299,8 @@ for file in $locales_dir/*.msg; do
@@ -301,7 +300,8 @@ for file in $locales_dir/*.msg; do
# Finally, symlink to the install of the generated cat file that
# corresponds to the correct msg file.