Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/DICKEY]: src/external/bsd/byacc/dist 2019-06-17 Thomas E. Dickey <dick...



details:   https://anonhg.NetBSD.org/src/rev/44cbb00dbe44
branches:  DICKEY
changeset: 455095:44cbb00dbe44
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 06 23:19:26 2019 +0000

description:
2019-06-17  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * 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  <dickey%invisible-island.net@localhost>

        * 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  <dickey%invisible-island.net@localhost>

        * config.guess: 2019-06-10

2019-05-22  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.sub: 2019-05-22

diffstat:

 external/bsd/byacc/dist/CHANGES                       |   112 +-
 external/bsd/byacc/dist/MANIFEST                      |     2 +-
 external/bsd/byacc/dist/VERSION                       |     2 +-
 external/bsd/byacc/dist/aclocal.m4                    |   293 +-
 external/bsd/byacc/dist/config.guess                  |   350 +-
 external/bsd/byacc/dist/config.sub                    |  2676 ++++++++--------
 external/bsd/byacc/dist/config_h.in                   |    35 +-
 external/bsd/byacc/dist/configure                     |  1695 +++++++---
 external/bsd/byacc/dist/defs.h                        |    11 +-
 external/bsd/byacc/dist/main.c                        |    25 +-
 external/bsd/byacc/dist/package/byacc.spec            |     4 +-
 external/bsd/byacc/dist/package/debian/changelog      |    12 +
 external/bsd/byacc/dist/package/debian/copyright      |     2 +-
 external/bsd/byacc/dist/package/mingw-byacc.spec      |     4 +-
 external/bsd/byacc/dist/package/pkgsrc/Makefile       |     2 +-
 external/bsd/byacc/dist/test/btyacc/big_b.error       |    19 +
 external/bsd/byacc/dist/test/btyacc/big_b.output      |    18 -
 external/bsd/byacc/dist/test/btyacc/big_l.error       |    19 +
 external/bsd/byacc/dist/test/btyacc/big_l.output      |    18 -
 external/bsd/byacc/dist/test/btyacc/defines1.calc.c   |  1383 ++++++++
 external/bsd/byacc/dist/test/btyacc/defines1.calc.h   |    10 +
 external/bsd/byacc/dist/test/btyacc/defines2.calc.c   |  1383 ++++++++
 external/bsd/byacc/dist/test/btyacc/defines2.calc.h   |    10 +
 external/bsd/byacc/dist/test/btyacc/defines3.calc.c   |  1383 ++++++++
 external/bsd/byacc/dist/test/btyacc/defines3.calc.h   |    10 +
 external/bsd/byacc/dist/test/btyacc/help.error        |    19 +
 external/bsd/byacc/dist/test/btyacc/help.output       |    18 -
 external/bsd/byacc/dist/test/btyacc/no_b_opt.error    |    19 +
 external/bsd/byacc/dist/test/btyacc/no_b_opt.output   |    18 -
 external/bsd/byacc/dist/test/btyacc/no_b_opt1.error   |     1 +
 external/bsd/byacc/dist/test/btyacc/no_b_opt1.output  |     1 -
 external/bsd/byacc/dist/test/btyacc/no_code_c.error   |     1 +
 external/bsd/byacc/dist/test/btyacc/no_code_c.output  |     1 -
 external/bsd/byacc/dist/test/btyacc/no_defines.error  |     1 +
 external/bsd/byacc/dist/test/btyacc/no_defines.output |     1 -
 external/bsd/byacc/dist/test/btyacc/no_graph.error    |     1 +
 external/bsd/byacc/dist/test/btyacc/no_graph.output   |     1 -
 external/bsd/byacc/dist/test/btyacc/no_include.error  |     1 +
 external/bsd/byacc/dist/test/btyacc/no_include.output |     1 -
 external/bsd/byacc/dist/test/btyacc/no_opts.error     |     1 +
 external/bsd/byacc/dist/test/btyacc/no_opts.output    |     1 -
 external/bsd/byacc/dist/test/btyacc/no_output.error   |     1 +
 external/bsd/byacc/dist/test/btyacc/no_output.output  |     1 -
 external/bsd/byacc/dist/test/btyacc/no_output1.error  |     1 +
 external/bsd/byacc/dist/test/btyacc/no_output1.output |     1 -
 external/bsd/byacc/dist/test/btyacc/no_output2.error  |    19 +
 external/bsd/byacc/dist/test/btyacc/no_output2.output |    18 -
 external/bsd/byacc/dist/test/btyacc/no_p_opt.error    |    19 +
 external/bsd/byacc/dist/test/btyacc/no_p_opt.output   |    18 -
 external/bsd/byacc/dist/test/btyacc/no_p_opt1.error   |     1 +
 external/bsd/byacc/dist/test/btyacc/no_p_opt1.output  |     1 -
 external/bsd/byacc/dist/test/btyacc/no_verbose.error  |     1 +
 external/bsd/byacc/dist/test/btyacc/no_verbose.output |     1 -
 external/bsd/byacc/dist/test/btyacc/nostdin.error     |    19 +
 external/bsd/byacc/dist/test/btyacc/nostdin.output    |    18 -
 external/bsd/byacc/dist/test/btyacc/stdin1.calc.c     |  1383 ++++++++
 external/bsd/byacc/dist/test/btyacc/stdin2.calc.c     |  1383 ++++++++
 external/bsd/byacc/dist/test/run_test.sh              |    65 +-
 external/bsd/byacc/dist/test/yacc/big_b.error         |    20 +
 external/bsd/byacc/dist/test/yacc/big_b.output        |    19 -
 external/bsd/byacc/dist/test/yacc/big_l.error         |    20 +
 external/bsd/byacc/dist/test/yacc/big_l.output        |    19 -
 external/bsd/byacc/dist/test/yacc/defines1.calc.c     |   597 +++
 external/bsd/byacc/dist/test/yacc/defines1.calc.h     |     5 +
 external/bsd/byacc/dist/test/yacc/defines2.calc.c     |   597 +++
 external/bsd/byacc/dist/test/yacc/defines2.calc.h     |     5 +
 external/bsd/byacc/dist/test/yacc/defines3.calc.c     |   597 +++
 external/bsd/byacc/dist/test/yacc/defines3.calc.h     |     5 +
 external/bsd/byacc/dist/test/yacc/help.error          |    19 +
 external/bsd/byacc/dist/test/yacc/help.output         |    18 -
 external/bsd/byacc/dist/test/yacc/no_b_opt.error      |    19 +
 external/bsd/byacc/dist/test/yacc/no_b_opt.output     |    18 -
 external/bsd/byacc/dist/test/yacc/no_b_opt1.error     |     1 +
 external/bsd/byacc/dist/test/yacc/no_b_opt1.output    |     1 -
 external/bsd/byacc/dist/test/yacc/no_code_c.error     |     1 +
 external/bsd/byacc/dist/test/yacc/no_code_c.output    |     1 -
 external/bsd/byacc/dist/test/yacc/no_defines.error    |     1 +
 external/bsd/byacc/dist/test/yacc/no_defines.output   |     1 -
 external/bsd/byacc/dist/test/yacc/no_graph.error      |     1 +
 external/bsd/byacc/dist/test/yacc/no_graph.output     |     1 -
 external/bsd/byacc/dist/test/yacc/no_include.error    |     1 +
 external/bsd/byacc/dist/test/yacc/no_include.output   |     1 -
 external/bsd/byacc/dist/test/yacc/no_opts.error       |     1 +
 external/bsd/byacc/dist/test/yacc/no_opts.output      |     1 -
 external/bsd/byacc/dist/test/yacc/no_output.error     |     1 +
 external/bsd/byacc/dist/test/yacc/no_output.output    |     1 -
 external/bsd/byacc/dist/test/yacc/no_output1.error    |     1 +
 external/bsd/byacc/dist/test/yacc/no_output1.output   |     1 -
 external/bsd/byacc/dist/test/yacc/no_output2.error    |    19 +
 external/bsd/byacc/dist/test/yacc/no_output2.output   |    18 -
 external/bsd/byacc/dist/test/yacc/no_p_opt.error      |    19 +
 external/bsd/byacc/dist/test/yacc/no_p_opt.output     |    18 -
 external/bsd/byacc/dist/test/yacc/no_p_opt1.error     |     1 +
 external/bsd/byacc/dist/test/yacc/no_p_opt1.output    |     1 -
 external/bsd/byacc/dist/test/yacc/no_verbose.error    |     1 +
 external/bsd/byacc/dist/test/yacc/no_verbose.output   |     1 -
 external/bsd/byacc/dist/test/yacc/nostdin.error       |    19 +
 external/bsd/byacc/dist/test/yacc/nostdin.output      |    18 -
 external/bsd/byacc/dist/test/yacc/stdin1.calc.c       |   597 +++
 external/bsd/byacc/dist/test/yacc/stdin2.calc.c       |   597 +++
 external/bsd/byacc/dist/yacc.1                        |   112 +-
 101 files changed, 13584 insertions(+), 2325 deletions(-)

diffs (truncated from 19713 to 300 lines):

diff -r 633a7efd65a7 -r 44cbb00dbe44 external/bsd/byacc/dist/CHANGES
--- a/external/bsd/byacc/dist/CHANGES   Sun Dec 23 15:26:12 2018 +0000
+++ b/external/bsd/byacc/dist/CHANGES   Sun Oct 06 23:19:26 2019 +0000
@@ -1,3 +1,107 @@
+2019-06-17  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * 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  <dickey%invisible-island.net@localhost>
+
+       * 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  <dickey%invisible-island.net@localhost>
+
+       * config.guess: 2019-06-10
+
+2019-05-22  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.sub: 2019-05-22
+
 2018-06-09  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
 
        * yacc.1: minor typographical fixes
@@ -120,11 +224,11 @@
 
 2017-12-04  erik.b.andersen
 
-       * main.c: A proper path for temporary files is needed by byacc under 
-       Windows commandline, otherwise there's a risk of empty files. 
+       * main.c: A proper path for temporary files is needed by byacc under
+       Windows commandline, otherwise there's a risk of empty files.
        The TEMP environment variable is always defined in Windows.
 
-       * defs.h: The noreturn attribute needs to be specified before function 
+       * defs.h: The noreturn attribute needs to be specified before function
        to be portable among compilers (gcc, clang, msvc).
 
 2017-12-04  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
@@ -2729,7 +2833,7 @@
 
        * vmsbuild.com: original version
 
-2000-02-23  Thomas (CM)  <dickey%clark.net@localhost>
+2000-02-23  Thomas E. Dickey  <dickey%clark.net@localhost>
 
        * test/RCS, RCS: PERMIT FILE
 
diff -r 633a7efd65a7 -r 44cbb00dbe44 external/bsd/byacc/dist/MANIFEST
--- a/external/bsd/byacc/dist/MANIFEST  Sun Dec 23 15:26:12 2018 +0000
+++ b/external/bsd/byacc/dist/MANIFEST  Sun Oct 06 23:19:26 2019 +0000
@@ -1,4 +1,4 @@
-MANIFEST for byacc-20180609, version t20180609
+MANIFEST for byacc-20190617, version t20190617
 --------------------------------------------------------------------------------
 MANIFEST                        this file
 ACKNOWLEDGEMENTS                original version of byacc - 1993
diff -r 633a7efd65a7 -r 44cbb00dbe44 external/bsd/byacc/dist/VERSION
--- a/external/bsd/byacc/dist/VERSION   Sun Dec 23 15:26:12 2018 +0000
+++ b/external/bsd/byacc/dist/VERSION   Sun Oct 06 23:19:26 2019 +0000
@@ -1,1 +1,1 @@
-20180609
+20190617
diff -r 633a7efd65a7 -r 44cbb00dbe44 external/bsd/byacc/dist/aclocal.m4
--- a/external/bsd/byacc/dist/aclocal.m4        Sun Dec 23 15:26:12 2018 +0000
+++ b/external/bsd/byacc/dist/aclocal.m4        Sun Oct 06 23:19:26 2019 +0000
@@ -1,7 +1,7 @@
-dnl Id: aclocal.m4,v 1.44 2018/05/10 01:18:58 tom Exp 
+dnl Id: aclocal.m4,v 1.46 2019/06/16 13:58:05 tom Exp 
 dnl Macros for byacc configure script (Thomas E. Dickey)
 dnl ---------------------------------------------------------------------------
-dnl Copyright 2004-2017,2018 Thomas E. Dickey
+dnl Copyright 2004-2018,2019 Thomas E. Dickey
 dnl 
 dnl Permission is hereby granted, free of charge, to any person obtaining a
 dnl copy of this software and associated documentation files (the
@@ -181,7 +181,7 @@
 ])dnl
 ])])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CC_ENV_FLAGS version: 8 updated: 2017/09/23 08:50:24
+dnl CF_CC_ENV_FLAGS version: 9 updated: 2018/07/29 18:03:26
 dnl ---------------
 dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content
 dnl into CC.  This will not help with broken scripts that wrap the compiler
@@ -198,11 +198,28 @@
 # This should have been defined by AC_PROG_CC
 : ${CC:=cc}
 
+AC_MSG_CHECKING(\$CFLAGS variable)
+case "x$CFLAGS" in
+(*-[[IUD]]*)
+       AC_MSG_RESULT(broken)
+       AC_MSG_WARN(your environment uses the CFLAGS variable to hold CPPFLAGS options)
+       cf_flags="$CFLAGS"
+       CFLAGS=
+       for cf_arg in $cf_flags
+       do
+               CF_ADD_CFLAGS($cf_arg)
+       done
+       ;;
+(*)
+       AC_MSG_RESULT(ok)
+       ;;
+esac
+
 AC_MSG_CHECKING(\$CC variable)
 case "$CC" in
 (*[[\ \        ]]-*)
        AC_MSG_RESULT(broken)
-       AC_MSG_WARN(your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options)
+       AC_MSG_WARN(your environment uses the CC variable to hold CFLAGS/CPPFLAGS options)
        # humor him...
        cf_prog=`echo "$CC" | sed -e 's/        / /g' -e 's/[[ ]]* / /g' -e 's/[[ ]]*[[ ]]-[[^ ]].*//'`
        cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", [substr]([$]0,1+length(prog))); }'`
@@ -296,6 +313,60 @@
 fi
 ])
 dnl ---------------------------------------------------------------------------
+dnl CF_CONST_X_STRING version: 1 updated: 2019/04/08 17:50:29
+dnl -----------------
+dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most
+dnl character-strings.
+dnl
+dnl It is ambiguous because the specification accommodated the pre-ANSI
+dnl compilers bundled by more than one vendor in lieu of providing a standard C
+dnl compiler other than by costly add-ons.  Because of this, the specification
+dnl did not take into account the use of const for telling the compiler that
+dnl string literals would be in readonly memory.
+dnl
+dnl As a workaround, one could (starting with X11R5) define XTSTRINGDEFINES, to
+dnl let the compiler decide how to represent Xt's strings which were #define'd. 
+dnl That does not solve the problem of using the block of Xt's strings which
+dnl are compiled into the library (and is less efficient than one might want).
+dnl
+dnl Xt specification 7 introduces the _CONST_X_STRING symbol which is used both
+dnl when compiling the library and compiling using the library, to tell the
+dnl compiler that String is const.
+AC_DEFUN([CF_CONST_X_STRING],
+[
+AC_TRY_COMPILE(
+[
+#include <stdlib.h>
+#include <X11/Intrinsic.h>
+],
+[String foo = malloc(1)],[
+
+AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[
+       AC_TRY_COMPILE(
+               [
+#define _CONST_X_STRING        /* X11R7.8 (perhaps) */
+#undef  XTSTRINGDEFINES        /* X11R5 and later */
+#include <stdlib.h>
+#include <X11/Intrinsic.h>
+               ],[String foo = malloc(1); *foo = 0],[
+                       cf_cv_const_x_string=no
+               ],[
+                       cf_cv_const_x_string=yes
+               ])
+])
+
+case $cf_cv_const_x_string in
+(no)
+       CF_APPEND_TEXT(CPPFLAGS,-DXTSTRINGDEFINES)
+       ;;
+(*)
+       CF_APPEND_TEXT(CPPFLAGS,-D_CONST_X_STRING)
+       ;;
+esac
+
+])
+])dnl
+dnl ---------------------------------------------------------------------------
 dnl CF_DISABLE_ECHO version: 13 updated: 2015/04/18 08:56:57
 dnl ---------------
 dnl You can always use "make -n" to see the actual options, but it's hard to
@@ -480,7 +551,7 @@
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_GCC_WARNINGS version: 32 updated: 2015/04/12 15:39:00
+dnl CF_GCC_WARNINGS version: 35 updated: 2019/06/16 09:45:01
 dnl ---------------
 dnl Check if the compiler supports useful warning options.  There's a few that
 dnl we don't use, simply because they're too noisy:
@@ -504,12 +575,11 @@
 AC_REQUIRE([CF_GCC_VERSION])
 CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS)
 CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS)
-
+if test "x$have_x" = xyes; then CF_CONST_X_STRING fi
 cat > conftest.$ac_ext <<EOF
 #line __oline__ "${as_me:-configure}"
 int main(int argc, char *argv[[]]) { return (argv[[argc-1]] == 0) ; }
 EOF
-
 if test "$INTEL_COMPILER" = yes
 then
 # The "-wdXXX" options suppress warnings:
@@ -544,7 +614,6 @@
                fi
        done
        CFLAGS="$cf_save_CFLAGS"
-
 elif test "$GCC" = yes
 then
        AC_CHECKING([for $CC warning options])
@@ -573,9 +642,6 @@
                if AC_TRY_EVAL(ac_compile); then
                        test -n "$verbose" && AC_MSG_RESULT(... -$cf_opt)
                        case $cf_opt in
-                       (Wcast-qual)
-                               CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"



Home | Main Index | Thread Index | Old Index