Received: by mail.netbsd.org (Postfix, from userid 605) id 0F81F84D54; Wed, 22 Apr 2020 05:05:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8ABA784D45 for ; Wed, 22 Apr 2020 05:05:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id UwfsQMbEW-tj for ; Wed, 22 Apr 2020 05:05:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4978D84CDF for ; Wed, 22 Apr 2020 05:05:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3CC53FB27; Wed, 22 Apr 2020 05:05:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158753195691040" MIME-Version: 1.0 Date: Wed, 22 Apr 2020 05:05:56 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/byacc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200422050556.3CC53FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158753195691040 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Wed Apr 22 05:05:56 UTC 2020 Modified Files: pkgsrc/devel/byacc: Makefile distinfo Log Message: byacc: Update to 20200330 2020-03-30 Thomas E. Dickey * package/debian/copyright: bump * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c: typo found with codespell * yacc.1: fixes noted in the original report, overlooked in followup 2020-03-30 Bjarni.Ingi.Gislason * yacc.1: typography/spelling fixes - Debian #955175 2020-03-30 Thomas E. Dickey * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2020-03-10 Thomas E. Dickey * configure: regen * aclocal.m4: resync with my-autoconf, mostly fixes for compiler-warnings * configure.in: use macro to suppress X-dependency from newer macros 2019-12-20 Thomas E. Dickey * config.guess: 2019-12-21 2019-11-25 Tom.Shields * main.c: fix an inconsistency between the getopt and non-getopt configuration. In the former, getopt always used "yacc", not the name of the executable. 2019-11-25 Thomas E. Dickey * test/run_make.sh: suppress bison's -Wyacc warning, which is not useful. * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2019-11-19 Thomas E. Dickey * yacc.1: new version of manpage * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump * yacc.1: document %code * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_ provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c: RCS_BASE * output.c: amend updates for 'outline' when processing "%code" in code-file * output.c: modify output_code_lines() to show begin/end block comments which were in reader.c, and to generate a #line for the code-file. * reader.c: modify copy_code() to allow for multiple %code directives for a given section, recording the input line-number for each directive as a #line in the resulting string. remove the block start/end comments, since those will be done for a whole section in output.c * mstring.c, defs.h: add msrenew() * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h: RCS_BASE 2019-11-18 Thomas E. Dickey * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y: RCS_BASE 2019-11-04 Michael.Forney * defs.h: add missing "extern" for new variable "code_lines" 2019-11-03 Thomas E. Dickey * main.c: build-fix for MinGW cross-compiling * output.c, reader.c: gcc-warnings * output.c: check validity of text_file before rewind remove redundant check of iflag * main.c: fix memory-leak reported by clang * mkpar.c: guard against a null-reference reported by clang (unlikely) * reader.c: fix two coverity warnings: a) resource leak on malloc-failure b) possible null-pointer dereference on parse-error * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen * defs.h: use enum's to simplify recent change * mstring.c: enable mstring() in regular byacc, since Zoulas' change relies upon it 2019-11-03 Christos.Zoulas * defs.h, reader.c, output.c: add support for bison's "%code" feature also fix a small bug: declare YYLTYPE externally when producing locations 2019-11-03 Thomas E. Dickey * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error: regen * test/run_test.sh: there's no standard wording for the options-errors from getopt; filter that to "error message" in the test reference files. * main.c: provide for using getopt(), to accommodate a case where developers have relied upon non-POSIX behavior. * test/run_test.sh: getopt's messages do not print the full pathname of yacc in some cases; adjust the sed-script which changes those to "YACC" * configure: regen * config_h.in: regen, using autoheader-252 * configure.in: add configure check for getopt * configure: regen * aclocal.m4: resync with my-autoconf adds a fix which accommodates a difference in warning options between gcc/clang when --enable-warnings is not set. * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2019-09-11 Thomas E. Dickey * config.guess, config.sub: 2019-09-10 2019-06-17 Thomas E. Dickey * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error: regen * test/run_test.sh: test "-H" rather than "-D" 2019-06-16 Thomas E. Dickey * main.c, yacc.1: change "-D" option to "-H" (discussion with Ethan Sommer) * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c: RCS_BASE * test/run_test.sh: in test_defines, save the ".c" file too * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c: RCS_BASE * test/run_test.sh: output of test_defines should be a header ".h", not ".c" * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, test/btyacc/defines1.output, test/btyacc/defines2.calc.h, test/btyacc/defines2.error, test/btyacc/defines2.output, test/btyacc/defines3.calc.h, test/btyacc/defines3.error, test/btyacc/defines3.output: RCS_BASE * main.c: however, a subsequent -d cancels -D * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE * main.c: -D option implies -d * test/yacc/defines1.error, test/yacc/defines1.output, test/yacc/defines2.calc.h, test/yacc/defines2.error, test/yacc/defines2.output, test/yacc/defines3.error, test/yacc/defines3.output: RCS_BASE * yacc.1: align macro definitions with my other manpages * test/run_test.sh: add test for -D after -d or -b options * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, test/btyacc/stdin2.error, test/btyacc/stdin2.output: RCS_BASE * test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/btyacc/help.error, test/btyacc/help.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, test/btyacc/no_defines.error, test/btyacc/no_defines.output, test/btyacc/no_graph.error, test/btyacc/no_graph.output, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output, test/btyacc/no_output2.error, test/btyacc/no_output2.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/yacc/big_ b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output: regen * test/run_test.sh: add a test for stdin "-" vs end-options "--", and correct a redirection of stderr in test_flags * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin1.error, test/yacc/stdin1.output, test/yacc/stdin2.error: RCS_BASE * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output: regen * main.c: add -D option, to specify filename vs y.tab.h for -d * defs.h: add dflag2, for -D option * yacc.1: document -D option * config_h.in: updated with autoheader-252 * configure: regen * package/debian/copyright: bump * aclocal.m4: add CF_GETOPT_HEADER * aclocal.m4: Improved autoconf macros: + CF_CC_ENV_FLAGS putting preprocessor flags in CFLAGS also is a nuisance, which can be addressed in the same way. + CF_GCC_WARNINGS factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING + CF_GNU_SOURCE The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016), and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend that "newlib" is the GNU C library. Without this, the check falls through to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm. + CF_POSIX_C_SOURCE add/use CF_POSIX_VISIBLE + CF_TRY_XOPEN_SOURCE use CF_APPEND_TEXT + CF_WITH_MAN2HTML use sed to work around non-POSIX tail utility + CF_XOPEN_SOURCE use CF_APPEND_TEXT add/use CF_POSIX_VISIBLE * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2019-06-10 Thomas E. Dickey * config.guess: 2019-06-10 2019-05-22 Thomas E. Dickey * config.sub: 2019-05-22 To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/byacc/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/byacc/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158753195691040 Content-Disposition: inline Content-Length: 1578 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/byacc/Makefile diff -u pkgsrc/devel/byacc/Makefile:1.16 pkgsrc/devel/byacc/Makefile:1.17 --- pkgsrc/devel/byacc/Makefile:1.16 Sat Jun 22 11:37:13 2019 +++ pkgsrc/devel/byacc/Makefile Wed Apr 22 05:05:56 2020 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2019/06/22 11:37:13 nia Exp $ +# $NetBSD: Makefile,v 1.17 2020/04/22 05:05:56 nia Exp $ # -DISTNAME= byacc-20180609 +DISTNAME= byacc-20200330 CATEGORIES= devel MASTER_SITES= https://invisible-mirror.net/archives/byacc/ EXTRACT_SUFX= .tgz Index: pkgsrc/devel/byacc/distinfo diff -u pkgsrc/devel/byacc/distinfo:1.9 pkgsrc/devel/byacc/distinfo:1.10 --- pkgsrc/devel/byacc/distinfo:1.9 Sat Dec 8 12:22:03 2018 +++ pkgsrc/devel/byacc/distinfo Wed Apr 22 05:05:56 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2018/12/08 12:22:03 wen Exp $ +$NetBSD: distinfo,v 1.10 2020/04/22 05:05:56 nia Exp $ -SHA1 (byacc-20180609.tgz) = 414172ab152d1a9b273c16013295e37adcbeac1a -RMD160 (byacc-20180609.tgz) = 2784ffe49fd3c4724deacbfbc6b9c481efa3bad2 -SHA512 (byacc-20180609.tgz) = 45aa6de839ca23385ab832685fdaa49225dcde6a40bdb990eefde8ab1be2cfe063875072e844629ac91e9533e6e310fa0bb8a6bd01e246a1cefc67bbc3c175f9 -Size (byacc-20180609.tgz) = 745317 bytes +SHA1 (byacc-20200330.tgz) = 3e64f5aa03a4b416d61fb7db9b2ef40ad54f0dca +RMD160 (byacc-20200330.tgz) = 20dced16fe511f4179f189e56fb5d1b2226cac84 +SHA512 (byacc-20200330.tgz) = df8cc1aa550d633ab547a13a4f091d8c940a9a67b52dc5ecacad5b005fd54c3ceb1269593068c1a7949049e85b6e6eea20cffbbf4b408e049fde75c0ffe51f07 +Size (byacc-20200330.tgz) = 872217 bytes --_----------=_158753195691040--