git: b55a927bc884 - main - [bc] Update to version 4.0.0

Stefan Eßer se at FreeBSD.org
Tue Apr 6 09:59:24 UTC 2021


The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=b55a927bc884d7780d65a508572023b0dc2dede9

commit b55a927bc884d7780d65a508572023b0dc2dede9
Author:     Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-04-06 09:57:07 +0000
Commit:     Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-04-06 09:57:07 +0000

    [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
---
 usr.bin/gh-bc/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile
index 79526628cf61..7b06f310a33c 100644
--- a/usr.bin/gh-bc/Makefile
+++ b/usr.bin/gh-bc/Makefile
@@ -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"


More information about the dev-commits-src-all mailing list