From 172b90caa057d1550ab5963e940b0c0d6033ad87 Mon Sep 17 00:00:00 2001 From: trustbyte Date: Sun, 5 Oct 2025 21:29:26 +0200 Subject: [PATCH] bc: update to v1.08.2 --- math/bc/Portfile | 15 +++++---------- math/bc/files/patch-libedit-globals.diff | 15 --------------- 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 math/bc/files/patch-libedit-globals.diff diff --git a/math/bc/Portfile b/math/bc/Portfile index a9859187c57..00fa39cee61 100644 --- a/math/bc/Portfile +++ b/math/bc/Portfile @@ -3,8 +3,8 @@ PortSystem 1.0 name bc -version 1.07.1 -revision 3 +version 1.08.2 +revision 0 categories math maintainers nomaintainer license GPL-3+ @@ -20,17 +20,12 @@ long_description bc is an arbitrary precision numeric processing language. \ homepage https://www.gnu.org/software/bc/ master_sites gnu:bc -checksums rmd160 b9f7875059704a52e093830e42800c469b5a6bd6 \ - sha256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a \ - size 419850 +checksums rmd160 a010987f6c6781a9899d5c8ee8f1822db7257193 \ + sha256 ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86 \ + size 457557 installs_libs no -# Patch to ensure libedit globals are declared, rather than defined, via global.h. -# Otherwise, link errors occur, due to duplicate definitions of those symbols (like '_edit'). -# See: https://trac.macports.org/ticket/67486 -patchfiles-append patch-libedit-globals.diff - depends_build-append \ port:texinfo diff --git a/math/bc/files/patch-libedit-globals.diff b/math/bc/files/patch-libedit-globals.diff deleted file mode 100644 index 5bd4a6f750a..00000000000 --- a/math/bc/files/patch-libedit-globals.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- bc/global.h.orig 2023-09-10 07:46:24.000000000 -0400 -+++ bc/global.h 2023-09-10 07:47:42.000000000 -0400 -@@ -112,9 +112,9 @@ - - #if defined(LIBEDIT) - /* LIBEDIT data */ --EditLine *edit INIT(NULL); --History *hist; --HistEvent histev; -+EXTERN EditLine *edit INIT(NULL); -+EXTERN History *hist; -+EXTERN HistEvent histev; - #endif - - /* "Condition code" -- false (0) or true (1) */