bc: update to v1.08.2

This commit is contained in:
trustbyte
2025-10-05 21:29:26 +02:00
committed by Herby Gillot
parent d480d2ab54
commit 172b90caa0
2 changed files with 5 additions and 25 deletions
+5 -10
View File
@@ -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
-15
View File
@@ -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) */