Date: Tue, 7 Jul 2020 12:08:59 +0200 From: "Hartmann, O." <ohartmann@walstatt.org> To: Stefan =?ISO-8859-1?Q?E=DFer?= <se@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r362987 - in head: contrib/bc usr.bin/gh-bc Message-ID: <20200707120859.383081bb@hermann.fritz.box> In-Reply-To: <202007070751.0677pATb051630@repo.freebsd.org> References: <202007070751.0677pATb051630@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/jxlKD76reWCl/kDFAAYMWNn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 7 Jul 2020 07:51:10 +0000 (UTC) Stefan E=C3=9Fer <se@FreeBSD.org> wrote: > Author: se > Date: Tue Jul 7 07:51:09 2020 > New Revision: 362987 > URL: https://svnweb.freebsd.org/changeset/base/362987 >=20 > Log: > Update to version 3.1.1 > =20 > This version fixes a regression with regard to tradtional behavior > of the non-standard FreeBSD option "-e". In the previous version "-e > quit" caused bc to exit before any computations had been performed, > since all -e option parameters were concatenated and parsed as a > whole, with quit causing the program to exit as soon as it was > parsed. This version parses and executes commands passed with -e one > by one and only exits after all prior commands have been executed. > =20 > This commit is not a SVN merge, since the vendor import had been > performed after the import to contrib. Instead the contents of > contrib/bc has been removed and the new version is copied over > unchanged from vendor/bc/dist. >=20 > Replaced: > head/contrib/bc/ > - copied from r362986, vendor/bc/dist/ > Modified: > head/usr.bin/gh-bc/Makefile >=20 > Modified: head/usr.bin/gh-bc/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/usr.bin/gh-bc/Makefile Tue Jul 7 07:32:15 > 2020 (r362986) +++ head/usr.bin/gh-bc/Makefile Tue Jul > 7 07:51:09 2020 (r362987) @@ -19,6 +19,7 @@ LINKS=3D > ${BINDIR}/bc ${BINDIR}/dc=20 > CATALOGS=3D en_US.UTF-8 > CATALOGS+=3D de_DE.UTF-8 de_DE.ISO8859-1 > +CATALOGS+=3D es_ES.UTF-8 es_ES.ISO8859-1 > CATALOGS+=3D fr_FR.UTF-8 fr_FR.ISO8859-1 > CATALOGS+=3D ja_JP.UTF-8 ja_JP.eucJP > CATALOGS+=3D nl_NL.UTF-8 nl_NL.ISO8859-1 > @@ -37,8 +38,7 @@ CFLAGS+=3D -DBC_ENABLE_PROMPT > CFLAGS+=3D -DBC_ENABLE_LONG_OPTIONS > CFLAGS+=3D -DBC_ENABLE_EXTRA_MATH > CFLAGS+=3D -DBC_ENABLE_HISTORY > -CFLAGS+=3D -DBC_ENABLE_SIGNALS=3D0 > -CFLAGS+=3D -DBC_NUM_KARATSUBA_LEN=3D64 > +CFLAGS+=3D -DBC_ENABLE_RAND > CFLAGS+=3D -DDC_ENABLED > CFLAGS+=3D -DNDEBUG > CFLAGS+=3D -DVERSION=3D${BCVERSION} > @@ -46,8 +46,12 @@ CFLAGS+=3D -I${BCDIR}/include > =20 > .if ${MK_NLS_CATALOGS} =3D=3D "no" > CFLAGS+=3D -DBC_ENABLE_NLS=3D0 > +MAN_SRC_BC=3D bc/N.1 > +MAN_SRC_DC=3D dc/N.1 > .else > CFLAGS+=3D -DBC_ENABLE_NLS=3D1 > +MAN_SRC_BC=3D bc/A.1 > +MAN_SRC_DC=3D dc/A.1 > =20 > # prevent floating point incompatibilities caused by -flto on some > architectures .if ${MACHINE_ARCH} !=3D mips && ${MACHINE_ARCH} !=3D > mips64 && \ @@ -73,6 +77,8 @@ NLSLINKS_de_DE.UTF-8+=3D > de_AT.UTF-8 de_CH.UTF-8 NLSLINKS_de_DE.ISO8859-1+=3D de_AT.ISO8859-1 > de_CH.ISO8859-1 NLSLINKS_de_DE.ISO8859-1+=3D de_AT.ISO8859-15 > de_CH.ISO8859-15 de_DE.ISO8859-15=20 > +NLSLINKS_es_ES.ISO8859-1+=3D es_ES.ISO8859-15 > + > NLSLINKS_fr_FR.UTF-8+=3D fr_BE.UTF-8 fr_CA.UTF-8 fr_CH.UTF-8 > NLSLINKS_fr_FR.ISO8859-1+=3D fr_BE.ISO8859-1 fr_CA.ISO8859-1 > fr_CH.ISO8859-1 NLSLINKS_fr_FR.ISO8859-1+=3D fr_BE.ISO8859-15 > fr_CA.ISO8859-15 fr_CH.ISO8859-15 \ @@ -97,5 +103,11 @@ > bc_help.c: bc_help.txt=20 > dc_help.c: dc_help.txt > cd ${BCDIR} && sh gen/strgen.sh gen/dc_help.txt > ${.OBJDIR}/dc_help.c dc_help dc.h + > +bc.1: > + ${CP} ${BCDIR}/manuals/${MAN_SRC_BC} ${.OBJDIR}/bc.1 > + > +dc.1: > + ${CP} ${BCDIR}/manuals/${MAN_SRC_DC} ${.OBJDIR}/dc.1 > =20 > .include <bsd.prog.mk> > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to > "svn-src-head-unsubscribe@freebsd.org" Thank you very much for this effort. Kind regards, O. Hartmann --Sig_/jxlKD76reWCl/kDFAAYMWNn Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXwRJvAAKCRA4N1ZZPba5 R2V8AQDZoor+cYzkmF/FkND+ybc0xYb+A7ovu+bmHtoKPXeG1wD/WfPagQgDDvBt 2cOOnBdzBQg162HYALYQoo3BZkBSFQM= =+ScF -----END PGP SIGNATURE----- --Sig_/jxlKD76reWCl/kDFAAYMWNn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200707120859.383081bb>