From nobody Sat Jan 28 21:05:06 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P46Qq17KXz3c9Sp; Sat, 28 Jan 2023 21:05:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P46Qq0gQ9z3H5g; Sat, 28 Jan 2023 21:05:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674939907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HtZE88nk/gMRgYiySOIId1seXRvwsPHvjz2nRe7uYwo=; b=hh5vgLg6v6p6lM+oypkfhbop8jW47s6p6GOeCR9LsBE89LQI9dgFqazwsRb+wr7M2ahiRY g6xtd349XepJUKiy7L1oYXD6AMVAPwGFL8RS4zsv9Oqo8my2cJMZrrcbwxWs/YamjWUEJb 9wTc/7VPD/Nst8nSaVkW3XE8A/6vAtNAOPHMh84IdR/JYJOeEQ9I9b/Op6wZ+vh9IkqIXF /REoE5TwEQTBlZFJbBM7j8+fLXt47vKSmXAalTcVzo36Gj3iJ2OxmorymSHpT5Pp7FfeBP 5E4dAATpxY75i5lTJKOMgaqY26rIjLgQLrfXDeNJYGIu5dA2OCVo1orrUfV6fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674939907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HtZE88nk/gMRgYiySOIId1seXRvwsPHvjz2nRe7uYwo=; b=BUoV19vnS9ZcqBZh6LXkRz8ZcrPLjMaKKJ431daRzMevkusFGz1Z5iNGtYDcbP4tM6pwf/ l9BIpZJ6J4z86Uw87FD5WTGaJ4PqGWp8GqS5VLW+9/OhkHnyDJhGsQ65SbOxrJzMP/hllm 9sFeLhtbbL7sTP58RPUNwmSkNLRYm5JqXiKFf1aIUQR5zGMrQ7cWEGHbjMJ2QVPzEYaqui mnfBgz0qJzxGbNUt7gYn619NLKepkyrvnyyYtD12wom6C7HvqWVmoLD6US9bH1obW2wJTY 7k7br++ocZ/1RpaK24pZcdV60Vfbma5T79JGjv0vrGJy1RVcNavOjP3uff3ppA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674939907; a=rsa-sha256; cv=none; b=JYECXNrUR+GmVPhPzFyvQm7+q9ALUYSD0IEm/kLco4zZigVy1KGFqJR6CbaDifZuW8ezd0 9JxzGSW0IcgFUVUM7Z3VdMWL21wVPByXjaHssA3AbQFBhML7qkY3kIJdWenG/bHQ5hUZW8 EyRJ35unBZSoF767Tqvv2yU3OAnH7/GFd05NR7P+OJ8Irk3Yqw1UdVBngsVaNrfXVr/uNs T14E5QzU/0aKaFzQrkteOFs297tWTpq6T96usthdivW4QPQABsuRh4WgY756g/Y4ApMQrj TXBurZKSfANB/y/j64aFjX3NMzOtLqGjb3KK1liXEG3UI1F7198h0ojlMnXZeg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P46Qp6sqbz12xG; Sat, 28 Jan 2023 21:05:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30SL56vM023104; Sat, 28 Jan 2023 21:05:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30SL56t9023103; Sat, 28 Jan 2023 21:05:06 GMT (envelope-from git) Date: Sat, 28 Jan 2023 21:05:06 GMT Message-Id: <202301282105.30SL56t9023103@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: ec98f1089a6a - main - math/gh-bc: update to version 6.2.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec98f1089a6a1f0dad313e788bc6a3d06d4b4383 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec98f1089a6a1f0dad313e788bc6a3d06d4b4383 commit ec98f1089a6a1f0dad313e788bc6a3d06d4b4383 Author: Stefan Eßer AuthorDate: 2023-01-28 20:48:22 +0000 Commit: Stefan Eßer CommitDate: 2023-01-28 20:48:22 +0000 math/gh-bc: update to version 6.2.2 This update fixes a few issues and adds new features: - There was a discrepancy from the bc standard with regards to the behavior of the "quit" command. This bc used to quit whenever it encountered "quit" during parsing, even if it was parsing a full file. Now, bc only quits when encountering "quit" after it has executed all executable statements up to that point. This behavior is slightly different from GNU bc, but users will only notice the difference if they put "quit" on the same line as other statements. - A memory bug was caused by assigning a string to a non-local variable in a function, then redefining the function with use of the same non-local variable, which would still refer to a string in the previous version of the function. - Another memory bug was caused by passing an array argument to the asciify() built-in function. In certain cases, that was wrongly allowed, and the interpreter just assumed everything was correct and accessed memory. Now that arrays are allowed as arguments (see below), this is not an issue. - A missing local in the uint*() family of functions in the extended math library. - A failure to clear the tail call list in dc on error. - A crash when attempting to swap characters in command-line history when no characters exist. - SIGWINCH was activated even when history was not. - If an array element was used as a parameter, and then a later parameter had the same name as the array whose element was used, bc would grab the element from the new array parameter, not the actual element from before the function call. - A new built-in function is_number() ("u" in dc) returns 1 if the runtime argument is a number and 0 otherwise. - A new is_string() built-in function ("t" in dc) returns 1 if the runtime argument is a string and 0 otherwise. - The new asciify() built-in function in bc converts a full array of numbers into a string. This means that character-by-character printing will not be necessary, and more strings than just single-character ones will be able to be created. - Stack traces are now given for runtime errors. In debug mode, the C source file and line of errors are given as well. --- math/gh-bc/Makefile | 4 ++-- math/gh-bc/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/math/gh-bc/Makefile b/math/gh-bc/Makefile index 8912880727b2..06d05ca64cc3 100644 --- a/math/gh-bc/Makefile +++ b/math/gh-bc/Makefile @@ -1,12 +1,12 @@ PORTNAME= bc -PORTVERSION= 6.0.2 +PORTVERSION= 6.2.2 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.yzena.com/gavin/bc +WWW= https://git.yzena.com/gavin/bc LICENSE= BSD2CLAUSE MIT LICENSE_COMB= multi diff --git a/math/gh-bc/distinfo b/math/gh-bc/distinfo index e6914393b9b9..cd420e9e8c32 100644 --- a/math/gh-bc/distinfo +++ b/math/gh-bc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661883902 -SHA256 (bc-6.0.2.tar.xz) = a4e51fda30515005f729422d184df7f04d9b4517614212aa65204db33c344046 -SIZE (bc-6.0.2.tar.xz) = 451876 +TIMESTAMP = 1674331624 +SHA256 (bc-6.2.2.tar.xz) = 5b6fe23b720ab898c9c9c9cbdc83e124791b0b575005ec91a63175d3b69b90f2 +SIZE (bc-6.2.2.tar.xz) = 456672