From 430a08e4094451e804b0f4a2687577ba73b444048a227bb0631d24343de2616c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 7 Jan 2020 09:48:33 +0000 Subject: [PATCH] Update to 6.1-20200104 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=461 --- ncurses-6.1-patches.tar.bz2 | 4 ++-- ncurses-6.1.dif | 48 ++++++++++++++++++------------------- ncurses.changes | 35 +++++++++++++++++++++++++++ ncurses.spec | 6 ++--- workaround-20191214.patch | 16 ------------- 5 files changed, 63 insertions(+), 46 deletions(-) delete mode 100644 workaround-20191214.patch diff --git a/ncurses-6.1-patches.tar.bz2 b/ncurses-6.1-patches.tar.bz2 index dde0ac1..ce6a5c2 100644 --- a/ncurses-6.1-patches.tar.bz2 +++ b/ncurses-6.1-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb4b81383f1f2882930cba31b77e17f42b31c535f3fe3608bb53e07badf6154e -size 1949169 +oid sha256:b58c0c1f395e26837ef5ac61108bfd63cb57f5be2ed1207b5099492d7773f11a +size 2033554 diff --git a/ncurses-6.1.dif b/ncurses-6.1.dif index fff0af1..878c44d 100644 --- a/ncurses-6.1.dif +++ b/ncurses-6.1.dif @@ -31,7 +31,7 @@ #include #if defined(__cplusplus) -@@ -5279,12 +5279,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 -@@ -5409,9 +5412,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 -@@ -14206,9 +14209,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man </dev/null ; then reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}" @@ -389,7 +389,7 @@ desc="$desc add-on library" fi -@@ -149,6 +155,8 @@ do +@@ -153,6 +159,8 @@ do [ $NEED_TINFO != yes ] ; then [ -n "$reqs" ] && reqs="$reqs, " reqs="${reqs}${SUB_LIBRARY}${suffix}" @@ -795,7 +795,7 @@ $(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@ --- ncurses/curses.priv.h +++ ncurses/curses.priv.h 2019-11-11 09:30:23.214670585 +0000 -@@ -2248,6 +2248,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec +@@ -2244,6 +2244,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); diff --git a/ncurses.changes b/ncurses.changes index bfb1e98..326016e 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Tue Jan 7 09:12:06 UTC 2020 - Dr. Werner Fink + +- Add ncurses patch 20200104 + + modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to + "work", to help illustrate discussion in + https://invisible-island.net/autoconf/my-autoconf.html + + fix some warnings from autoheader-252 +- Correct include path for ncursesw5 and co + +------------------------------------------------------------------- +Sun Dec 29 09:21:53 UTC 2019 - Dr. Werner Fink + +- Add ncurses patch 20191228 + + in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments + past the various prefix/libdir assignments, to allow for using those + symbols, e.g., as done via CF_SHARED_OPTS. + + improve ncurses*-config and pc-files by filtering out linker-specs. + + modify test-package to more closely match Fedora's configuration + for PIE/PIC feature and debug-packages. + +------------------------------------------------------------------- +Thu Dec 26 14:15:16 UTC 2019 - Dr. Werner Fink + +- Add ncurses patch 20191221 + + correct pathname used in Ada95 sample programs for explain.txt, to + work with test-packages. + + improve tracemunch: + + keep track of TERMINAL* values + + if tracing was first turned on after initialization, attempt to + show distinct screen, window and terminal names anyway. + + ensure that GCC_NORETURN is defined in term.h, because the prototype + for exit_terminfo() uses it (report by Werner Fink). +- Remove patch workaround-20191214.patch as fixed upstream + ------------------------------------------------------------------- Wed Dec 18 09:25:48 UTC 2019 - Dr. Werner Fink diff --git a/ncurses.spec b/ncurses.spec index 309090e..efea475 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,7 +1,7 @@ # # spec file for package ncurses # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -75,7 +75,6 @@ Source7: baselibs.conf Patch0: ncurses-6.1.dif Patch1: ncurses-5.9-ibm327x.dif Patch2: ncurses-5.7-tack.dif -Patch3: workaround-20191214.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _miscdir %{_datadir}/misc %global _incdir %{_includedir} @@ -312,7 +311,6 @@ tar -xzf %{S:5} mv tack-* tack %patch1 -p0 -b .327x %patch2 -p0 -b .hs -%patch3 -p0 -b .workaround %patch0 -p0 -b .p0 %build @@ -831,7 +829,7 @@ includedir5=%{_incdir}/ncurses5' "$pc" base=${base##*/} sed -ri '\@includedir=@i\ includedir5=%{_incdir}/ncurses5' "$pc" - sed -ri 's@^(includedir=).*@\1${includedir5}/ncurses@' "$pc" + sed -ri 's@^(includedir=).*@\1${includedir5}/ncursesw@' "$pc" sed -ri 's@^(libdir=).*@\1%{_libdir}/ncurses5@' "$pc" sed -ri 's@^(Libs: )(.*)@\1-L${libdir}\2@' "$pc" mv -f $pc pc/${base}5.pc diff --git a/workaround-20191214.patch b/workaround-20191214.patch deleted file mode 100644 index c3dffbf..0000000 --- a/workaround-20191214.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- - include/MKterm.h.awk.in | 3 +++ - 1 file changed, 3 insertions(+) - ---- include/MKterm.h.awk.in -+++ include/MKterm.h.awk.in 2019-12-18 09:23:20.480600045 +0000 -@@ -376,6 +376,9 @@ END { - print "/*" - print " * Debugging features." - print " */" -+ print "#ifndef GCC_NORETURN" -+ print "#define GCC_NORETURN /* nothing */" -+ print "#endif" - print "extern NCURSES_EXPORT(void) exit_terminfo(int) GCC_NORETURN;" - print "" - print "#ifdef __cplusplus"