You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
bc: update to v1.08.2
This commit is contained in:
+5
-10
@@ -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
|
||||
|
||||
|
||||
@@ -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) */
|
||||
Reference in New Issue
Block a user