diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 80b6438..6600aed 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:398346657cc4269adaceaedf258871096f914265c7f3c9b4ce2e7a3e8c259a56 -size 874293 +oid sha256:ecdf159ed89b4babebc810d28171df85b0d0a3fc7df09b21597388f6655dad5b +size 1106137 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index 82a79e7..d406099 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-08-08 12:33:42.740866267 +0000 ++++ aclocal.m4 2016-09-12 12:57:28.319002677 +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) -@@ -4700,12 +4700,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 -@@ -4830,9 +4833,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 -@@ -11743,9 +11746,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <$@ --- ncurses/curses.priv.h -+++ ncurses/curses.priv.h 2016-08-08 12:33:42.748866115 +0000 ++++ ncurses/curses.priv.h 2016-09-12 12:57:28.327002524 +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-08-08 12:33:42.748866115 +0000 ++++ ncurses/run_cmd.sh 2016-09-12 12:57:28.331002449 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -809,7 +809,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2016-08-08 12:33:42.748866115 +0000 ++++ ncurses/tinfo/MKfallback.sh 2016-09-12 12:57:28.331002449 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -842,7 +842,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2016-08-08 12:33:42.748866115 +0000 ++++ ncurses/tinfo/access.c 2016-09-12 12:57:28.331002449 +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-08-08 12:33:42.752866041 +0000 ++++ ncurses/tinfo/lib_setup.c 2016-09-12 12:57:28.331002449 +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-08-08 12:33:42.752866041 +0000 ++++ ncurses/tinfo/read_entry.c 2016-09-12 12:57:28.331002449 +0000 @@ -433,6 +433,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -915,7 +915,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2016-08-08 12:33:42.752866041 +0000 ++++ ncurses/tinfo/read_termcap.c 2016-09-12 12:57:28.331002449 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -942,7 +942,7 @@ myfd = TRUE; } lineno = 0; -@@ -1117,8 +1121,10 @@ _nc_read_termcap_entry(const char *const +@@ -1118,8 +1122,10 @@ _nc_read_termcap_entry(const char *const for (i = 0; i < filecount; i++) { TR(TRACE_DATABASE, ("Looking for %s in %s", tn, termpaths[i])); @@ -953,7 +953,7 @@ _nc_set_source(termpaths[i]); /* -@@ -1130,6 +1136,7 @@ _nc_read_termcap_entry(const char *const +@@ -1131,6 +1137,7 @@ _nc_read_termcap_entry(const char *const (void) fclose(fp); } @@ -962,8 +962,8 @@ } if (copied != 0) --- test/test.priv.h -+++ test/test.priv.h 2016-08-08 12:33:42.752866041 +0000 -@@ -736,12 +736,12 @@ extern char *strnames[], *strcodes[], *s ++++ test/test.priv.h 2016-09-12 12:57:28.331002449 +0000 +@@ -790,12 +790,12 @@ extern char *strnames[], *strcodes[], *s #endif /* out-of-band values for representing absent capabilities */ diff --git a/ncurses.changes b/ncurses.changes index 9a9efab..901043e 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Mon Sep 12 12:55:25 UTC 2016 - werner@suse.de + +- Add ncurses patch 20160910 + + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with + Leon Winter). + + trim some obsolete/incorrect wording about EINTR from wgetch manual + page (patch by Leon Winter). + + really correct 20100515 change (patch by Rich Coe). + + add "--enable-string-hacks" option to test/configure + + completed string-hacks for "sprintf", etc., including test-programs. + + make "--enable-string-hacks" work with Debian by checking for the + "bsd" library and its associated "" header. +- Add ncurses patch 20160903 + + correct 20100515 change for weak signals versus sigprocmask (report + by Rich Coe). + + modify misc/Makefile.in to work around OpenBSD "make" which unlike + all other versions of "make" does not recognize continuation lines + of comments. + + amend the last change to CF_C_ENV_FLAGS to move only the + preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS, + leaving the residue in CC. That happens to work for gcc's various + "model" options, but may require tuning for other compilers (report + by Sven Joachim). +- Add ncurses patch 20160827 + + add "v" menu entry to test/ncurses.c to show baudrate and other + values. + + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c, + lib_baudrate.c + + modify CF_XOPEN_SOURCE macro: + + add "uclinux" to case for "linux" (patch by Yann E. Morin) + + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5 + (patch by Corinna Vinschen, from changes to tin). + + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such + as "ccache" (report by Enrico Scholz). + + update config.guess, config.sub from + http://git.savannah.gnu.org/cgit/config.git +- Add ncurses patch 20160820 + + update tput manual page to reflect changes to manipulate terminal + modes by sharing functions with tset. + + add the terminal-mode parts of "reset" (aka tset) to the "tput reset" + command, making the two almost the same except for window-size. + + adapt logic used in dialog "--keep-tite" option for test/filter.c as + "-a" option. When set, test/filter attempts to suppress the + alternate screen. + + correct a typo in interix entry -TD +- Drop patch ncurses-6.0-signal.dif as now upstream + ------------------------------------------------------------------- Mon Sep 5 00:14:00 UTC 2016 - rcoe@wi.rr.com diff --git a/ncurses.spec b/ncurses.spec index e8db2cf..583da87 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -67,7 +67,6 @@ Patch0: ncurses-6.0.dif Patch1: ncurses-5.9-ibm327x.dif Patch4: ncurses-5.7-tack.dif Patch5: ncurses-5.9-environment.dif -Patch6: ncurses-6.0-signal.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _miscdir %{_datadir}/misc %global _incdir %{_includedir} @@ -282,7 +281,6 @@ mv tack-* tack %patch4 -p0 -b .hs %patch5 -p0 -b .lc %patch0 -p0 -b .p0 -%patch6 -p0 -b .p6 rm -vf include/ncurses_dll.h rm -vf mkdirs.sh rm -vf tar-copy.sh