From 822e4a6777e5ac97f981ec4f2928ad68784c53e4f9aa0f92f02c78f493b124ec Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 24 May 2016 07:57:22 +0000 Subject: [PATCH] Add ncurses patch 20160521 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=246 --- ncurses-6.0-patches.tar.bz2 | 4 +- ncurses-6.0.dif | 74 ++++++++++++++++++------------------- ncurses.changes | 15 ++++++++ 3 files changed, 54 insertions(+), 39 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 6e79595..13fd596 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:62ab6d72cfa3639ac748c4e742b84f7599e1dc4d322e04b688cc89b7266628c1 -size 569615 +oid sha256:08e9d92e7a8ed415d8830243160204eca2dd49a81901a094a2ff67ce97f5e9e4 +size 674062 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index 2779be4..ff9a3e1 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -21,7 +21,7 @@ 19 files changed, 239 insertions(+), 80 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2016-05-17 10:35:27.099114266 +0000 ++++ aclocal.m4 2016-05-24 07:42:18.632380196 +0000 @@ -564,7 +564,7 @@ AC_MSG_CHECKING([for size of bool]) AC_CACHE_VAL(cf_cv_type_of_bool,[ rm -f cf_test.out @@ -31,7 +31,7 @@ #include #if defined(__cplusplus) -@@ -4677,12 +4677,15 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -4807,9 +4810,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -11676,9 +11679,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <$@ --- ncurses/curses.priv.h -+++ ncurses/curses.priv.h 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/curses.priv.h 2016-05-24 07:42:18.640380041 +0000 @@ -2024,6 +2024,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); @@ -795,7 +795,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 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/run_cmd.sh 2016-05-24 07:42:18.640380041 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -809,7 +809,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/tinfo/MKfallback.sh 2016-05-24 07:42:18.640380041 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -842,7 +842,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/tinfo/access.c 2016-05-24 07:42:18.640380041 +0000 @@ -35,6 +35,9 @@ #include @@ -885,7 +885,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/tinfo/lib_setup.c 2016-05-24 07:42:18.640380041 +0000 @@ -584,6 +584,9 @@ _nc_locale_breaks_acs(TERMINAL * termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -897,7 +897,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/tinfo/read_entry.c 2016-05-24 07:42:18.640380041 +0000 @@ -435,6 +435,7 @@ _nc_read_file_entry(const char *const fi int limit; char buffer[MAX_ENTRY_SIZE + 1]; @@ -915,7 +915,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2016-05-17 10:35:27.107114107 +0000 ++++ ncurses/tinfo/read_termcap.c 2016-05-24 07:42:18.644379964 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -962,7 +962,7 @@ } if (copied != 0) --- test/test.priv.h -+++ test/test.priv.h 2016-05-17 10:35:27.107114107 +0000 ++++ test/test.priv.h 2016-05-24 07:42:18.644379964 +0000 @@ -728,12 +728,12 @@ extern char *strnames[], *strcodes[], *s #endif diff --git a/ncurses.changes b/ncurses.changes index 8ccb6d0..140ca6c 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue May 24 07:41:19 UTC 2016 - werner@suse.de + +- Add ncurses patch 20160521 + + improved manual page description of tset/reset versus window-size. + + fixes to work with a slightly broken compiler configuration which + cannot compile "Hello World!" without adding compiler options + (report by Ola x Nilsson): + + pass appropriate compiler options to the CF_PROG_CC_C_O macro. + + when separating compiler and options in CF_CC_ENV_FLAGS, ensure + that all options are split-off into CFLAGS or CPPFLAGS + + restore some -I options removed in 20140726 because they appeared + to be redundant. In fact, they are needed for a compiler that + cannot combine -c and -o options. + ------------------------------------------------------------------- Tue May 17 10:33:40 UTC 2016 - werner@suse.de