From 92205956e177dd7c36593309540010ec31e63d1a32c469ddd78d763b8f8d7443 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 24 Jul 2017 07:25:38 +0000 Subject: [PATCH] Update to 6.0-20170722 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=319 --- ncurses-6.0-patches.tar.bz2 | 4 +-- ncurses-6.0.dif | 50 ++++++++++++++++--------------------- ncurses.changes | 16 ++++++++++++ 3 files changed, 39 insertions(+), 31 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 6034e61..7235850 100644 --- a/ncurses-6.0-patches.tar.bz2 +++ b/ncurses-6.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:497a46bd491a4e43cc3e89e8d2384429f01768e3a3a78fd8d7dc357d45afc9b6 -size 2646387 +oid sha256:0d9a81703709ccc9b541f23800d5b9bfd3c62a945d22dd11542efce294aed41b +size 2650616 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index 2442180..d658fed 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -21,7 +21,7 @@ 19 files changed, 247 insertions(+), 80 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2017-07-17 08:46:48.052363543 +0000 ++++ aclocal.m4 2017-07-24 07:18:46.968450937 +0000 @@ -580,7 +580,7 @@ AC_MSG_CHECKING([for size of bool]) AC_CACHE_VAL(cf_cv_type_of_bool,[ rm -f cf_test.out @@ -150,7 +150,7 @@ esac done --- configure -+++ configure 2017-07-17 08:46:48.056363470 +0000 ++++ configure 2017-07-24 07:18:46.976450789 +0000 @@ -5925,7 +5925,7 @@ case $cf_cv_system_name in fi ;; @@ -287,7 +287,7 @@ # the next lines are needed for linking libtic over libncurses TINFO_NAME=${LIB_NAME} --- include/curses.h.in -+++ include/curses.h.in 2017-07-17 08:46:48.056363470 +0000 ++++ include/curses.h.in 2017-07-24 07:18:46.976450789 +0000 @@ -177,6 +177,9 @@ typedef @cf_cv_typeof_chtype@ chtype; typedef @cf_cv_typeof_mmask_t@ mmask_t; #endif @@ -299,7 +299,7 @@ * We need FILE, etc. Include this before checking any feature symbols. */ --- include/termcap.h.in -+++ include/termcap.h.in 2017-07-17 08:46:48.056363470 +0000 ++++ include/termcap.h.in 2017-07-24 07:18:46.976450789 +0000 @@ -46,6 +46,8 @@ extern "C" { #endif /* __cplusplus */ @@ -310,8 +310,8 @@ #undef NCURSES_CONST --- include/tic.h -+++ include/tic.h 2017-07-17 08:46:48.056363470 +0000 -@@ -205,12 +205,12 @@ struct alias ++++ include/tic.h 2017-07-24 07:18:46.976450789 +0000 +@@ -207,12 +207,12 @@ struct alias */ /* out-of-band values for representing absent capabilities */ @@ -327,7 +327,7 @@ #define CANCELLED_STRING (char *)(-1) --- man/man_db.renames -+++ man/man_db.renames 2017-07-17 08:46:48.056363470 +0000 ++++ man/man_db.renames 2017-07-24 07:18:46.976450789 +0000 @@ -163,6 +163,7 @@ term.7 term.7 term_variables.3x terminfo_variables.3ncurses terminfo.5 terminfo.5 @@ -345,7 +345,7 @@ # getty.1 getty.8 --- man/ncurses.3x -+++ man/ncurses.3x 2017-07-17 08:46:48.056363470 +0000 ++++ man/ncurses.3x 2017-07-24 07:18:46.976450789 +0000 @@ -137,6 +137,10 @@ after the shell environment variable \fB [See \fBterminfo\fR(\*n) for further details.] .SS Datatypes @@ -358,7 +358,7 @@ called \fIwindows\fR, which can be thought of as two-dimensional arrays of characters representing all or part of a CRT screen. --- misc/gen-pkgconfig.in -+++ misc/gen-pkgconfig.in 2017-07-17 08:46:48.056363470 +0000 ++++ misc/gen-pkgconfig.in 2017-07-24 07:18:46.976450789 +0000 @@ -76,7 +76,7 @@ if test "$includedir" != "/usr/include" fi @@ -398,7 +398,7 @@ echo "** creating ${name}${suffix}.pc" --- misc/ncurses-config.in -+++ misc/ncurses-config.in 2017-07-17 08:46:48.056363470 +0000 ++++ misc/ncurses-config.in 2017-07-24 07:18:46.976450789 +0000 @@ -100,7 +100,7 @@ while test $# -gt 0; do # compile/link --cflags) @@ -409,7 +409,7 @@ fi if test "${includedir}" != /usr/include ; then --- misc/terminfo.src -+++ misc/terminfo.src 2017-07-17 08:46:48.060363396 +0000 ++++ misc/terminfo.src 2017-07-24 07:18:47.044449536 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -803,7 +803,7 @@ s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154, ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, --- ncurses/Makefile.in -+++ ncurses/Makefile.in 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/Makefile.in 2017-07-24 07:18:46.980450715 +0000 @@ -219,7 +219,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ @@ -814,8 +814,8 @@ ./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h $(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@ --- ncurses/curses.priv.h -+++ ncurses/curses.priv.h 2017-07-17 08:46:48.060363396 +0000 -@@ -2122,6 +2122,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec ++++ ncurses/curses.priv.h 2017-07-24 07:18:46.980450715 +0000 +@@ -2130,6 +2130,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *); extern NCURSES_EXPORT(char *) _nc_trace_mmask_t (SCREEN *, mmask_t); extern NCURSES_EXPORT(int) _nc_access (const char *, int); @@ -825,7 +825,7 @@ extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *); extern NCURSES_EXPORT(int) _nc_getenv_num (const char *); --- ncurses/run_cmd.sh -+++ ncurses/run_cmd.sh 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/run_cmd.sh 2017-07-24 07:18:46.980450715 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -839,7 +839,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/tinfo/MKfallback.sh 2017-07-24 07:18:46.980450715 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -872,7 +872,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/tinfo/access.c 2017-07-24 07:18:46.980450715 +0000 @@ -35,6 +35,9 @@ #include @@ -915,7 +915,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/tinfo/lib_setup.c 2017-07-24 07:18:46.980450715 +0000 @@ -599,6 +599,9 @@ _nc_locale_breaks_acs(TERMINAL *termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -927,7 +927,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/tinfo/read_entry.c 2017-07-24 07:18:46.980450715 +0000 @@ -431,6 +431,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -944,16 +944,8 @@ return (code); } -|@@ -712,6 +714,7 @@ _nc_read_tic_entry(char *filename, -| * We take pains here to make sure no combination of environment variables and -| * terminal type name can be used to overrun the file buffer. -| */ -|+#undef _nc_read_entry2 -| NCURSES_EXPORT(int) -| _nc_read_entry2(const char *const name, char *const filename, TERMTYPE2 *const tp) -| { --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2017-07-17 08:46:48.060363396 +0000 ++++ ncurses/tinfo/read_termcap.c 2017-07-24 07:18:46.980450715 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -1000,7 +992,7 @@ } if (copied != 0) --- test/test.priv.h -+++ test/test.priv.h 2017-07-17 08:46:48.060363396 +0000 ++++ test/test.priv.h 2017-07-24 07:18:46.980450715 +0000 @@ -805,12 +805,12 @@ extern char *strnames[], *strcodes[], *s #endif diff --git a/ncurses.changes b/ncurses.changes index 5521153..1e1b1d3 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Jul 24 07:17:59 UTC 2017 - werner@suse.de + +- Add ncurses patch 20170722 + + improve test-packages for ncurses-examples and AdaCurses for lintian + + modify logic for endwin-state to be able to detect the case where + the screen was never initialized, using that to trigger a flush of + ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the + term-driver configuration. + + add dependency upon ncurses_cfg.h to a few other internal header + files to allow each to be compiled separately. + + add dependency upon ncurses_cfg.h to tic's header-files; any program + using tic-library will have to supply this file. Legacy tack + versions supply this file; ongoing tack development has dropped the + dependency upon tic-library and new releases will not be affected. + ------------------------------------------------------------------- Tue Jul 18 06:49:37 UTC 2017 - werner@suse.de