mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
[bc] Update to version 4.0.0
This version fixes an issue (missing pop of top-of-stack value in the "P" command of the dc program). This issue did not affect the bc program, since it does not use dc as an back-end to actually perform the calculations as was the case with the traditional bc and dc programs. The major number has been bumped due to Windows support that has been added to this version. It does not correspond to a major change that might affect FreeBSD. MFC after: 3 days
This commit is contained in:
parent
7e5c51e523
commit
b55a927bc8
@ -6,7 +6,6 @@ PROG= gh-bc
|
||||
PROGNAME= bc
|
||||
|
||||
BCDIR= ${SRCTOP}/contrib/${PROGNAME}
|
||||
BCVERSION!= sed -n -e '/.*VERSION *= *[0-9]/s/.*VERSION *= *//p' ${BCDIR}/Makefile.in
|
||||
|
||||
SRCS= args.c data.c file.c lang.c lex.c main.c num.c parse.c program.c read.c vector.c vm.c
|
||||
SRCS+= bc.c bc_lex.c bc_parse.c dc.c dc_lex.c dc_parse.c history.c library.c
|
||||
@ -41,7 +40,6 @@ CFLAGS+= -DBC_ENABLE_HISTORY
|
||||
CFLAGS+= -DBC_ENABLE_RAND
|
||||
CFLAGS+= -DDC_ENABLED
|
||||
CFLAGS+= -DNDEBUG
|
||||
CFLAGS+= -DVERSION=${BCVERSION}
|
||||
CFLAGS+= -I${BCDIR}/include
|
||||
|
||||
.if ${MK_NLS_CATALOGS} == "no"
|
||||
|
Loading…
Reference in New Issue
Block a user