Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 09:59:24 GMT
From:      =?utf-8?B?U3RlZmFuIEXDn2Vy?= <se@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b55a927bc884 - main - [bc] Update to version 4.0.0
Message-ID:  <202104060959.1369xOkP030372@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by se:

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

commit b55a927bc884d7780d65a508572023b0dc2dede9
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-04-06 09:57:07 +0000
Commit:     Stefan Eßer <se@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104060959.1369xOkP030372>