summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-05-11 21:52:27 -0700
committerMichael Forney <mforney@mforney.org>2020-05-11 21:52:27 -0700
commit6d6e9f4988f54ba7185b25c540fdeba0b210b2f5 (patch)
tree1a83c3dc3a2cde79ab201ab5251a93e34602d312 /pkg
parent7fb2502e3dbb811908e3cd671a0790a4411151b7 (diff)
bc: Update to 2.7.2
Diffstat (limited to 'pkg')
-rw-r--r--pkg/bc/config.h1
-rw-r--r--pkg/bc/gen.lua4
m---------pkg/bc/src0
-rw-r--r--pkg/bc/ver2
4 files changed, 4 insertions, 3 deletions
diff --git a/pkg/bc/config.h b/pkg/bc/config.h
index 80ea13f3..3c115f32 100644
--- a/pkg/bc/config.h
+++ b/pkg/bc/config.h
@@ -3,7 +3,6 @@
#define BC_ENABLE_EXTRA_MATH 1
#define BC_ENABLE_HISTORY 1
-#define BC_ENABLE_LONG_OPTIONS 1
#define BC_ENABLE_NLS 0
#define BC_ENABLE_PROMPT 1
#define BC_ENABLE_SIGNALS 1
diff --git a/pkg/bc/gen.lua b/pkg/bc/gen.lua
index 007d9b87..1db1bc59 100644
--- a/pkg/bc/gen.lua
+++ b/pkg/bc/gen.lua
@@ -1,6 +1,6 @@
cflags{
'-D NDEBUG',
- '-D VERSION=2.6.1',
+ '-D VERSION=2.7.2',
'-D _POSIX_C_SOURCE=200809L',
'-I $srcdir/include',
'-include $dir/config.h',
@@ -32,6 +32,7 @@ exe('bin/bc', [[
lex.c
main.c
num.c
+ opt.c
parse.c
program.c
read.c
@@ -40,6 +41,7 @@ exe('bin/bc', [[
bc/(bc.c lex.c parse.c)
dc/(dc.c lex.c parse.c)
history/history.c
+ rand/rand.c
)
$outdir/(bc_help.c dc_help.c lib.c lib2.c)
]])
diff --git a/pkg/bc/src b/pkg/bc/src
-Subproject a4f16505c9b0ffacf0490b1b0ce89c4af969ffa
+Subproject 6f5fdd4ff62723ed95818f3d830d810267d9fe1
diff --git a/pkg/bc/ver b/pkg/bc/ver
index caec8f8a..96b93b9e 100644
--- a/pkg/bc/ver
+++ b/pkg/bc/ver
@@ -1 +1 @@
-2.6.1 r0
+2.7.2 r0