diff --git a/ncurses-6.2-patches.tar.bz2 b/ncurses-6.2-patches.tar.bz2 index 06003dc..22a8f99 100644 --- a/ncurses-6.2-patches.tar.bz2 +++ b/ncurses-6.2-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30e46685f886efb5de5e64941dee381fcc9d4de50c81ef2e2aba7885a7362497 -size 2183755 +oid sha256:08d9cc452df795d4f87bd57bcb53fedbae97ef0b3cb89278e4069fba6e6cafef +size 2280232 diff --git a/ncurses-6.2.dif b/ncurses-6.2.dif index e19486a..c8558cd 100644 --- a/ncurses-6.2.dif +++ b/ncurses-6.2.dif @@ -32,7 +32,7 @@ #include #if defined(__cplusplus) -@@ -5625,12 +5625,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 -@@ -5755,9 +5758,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 -@@ -14603,9 +14606,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man < + +- Add ncurses patch 20210424 + + avoid using broken system macros for snprintf which interfere with + _nc_SLIMIT's conditionally adding a parameter when the string-hacks + configure option is enabled. + + add a "all::" rule before the new "check" rule in test/Makefile.in +- Add ncurses patch 20210418 + + improve CF_LINK_FUNCS by ensuring that the source-file is closed + before linking to the target. + + add "check" rules for headers in c++, progs and test-directories. + + build-fix for termsort module when configured with termcap (reports + by Rajeev V Pillai, Rudi Heitbaum). +- Add ncurses patch 20210417 + + extend --disable-pkg-ldflags option to also control whether $LDFLAGS + from the build is provided in -config and .pc files (Debian #986764). + + fix some cppcheck warnings, mostly style, in ncurses and c++ + libraries and progs directory. + + fix off-by-one limit for tput's processing command-line arguments + (patch by Hadrien Lacour). +- Do not strip examples +- Install available manual pages of examples as well + +------------------------------------------------------------------- +Tue Apr 6 06:52:18 UTC 2021 - Dr. Werner Fink + +- Add ncurses patch 20210403 + + fix some cppcheck warnings, mostly style, in ncurses library and + progs directory. + + improve description of BSD-style padding in curs_termcap.3x + + improved CF_C11_NORETURN macro, from byacc changes. + + fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning + leak-checking off later in a set of options. + + relax modification-time comparison in CF_LINK_FUNCS to allow it to + accept link() function with NFS filesystems which change the mtime + on the link target, e.g., several BSD systems. + + call delay_output_sp to handle BSD-style padding when tputs_sp is + called, whether directly or internally, to ensure that the SCREEN + pointer is passed correctly (reports by Henric Jungheim, Juraj + Lutter). +- Correct offsets of patch ncurses-6.2.dif + ------------------------------------------------------------------- Mon Mar 29 07:37:33 UTC 2021 - Dr. Werner Fink diff --git a/ncurses.spec b/ncurses.spec index 1bc67f6..b860d79 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -443,8 +443,10 @@ mv tack-* tack exec /usr/bin/gzip -9 ${1+"$@"} EOF chmod 0755 gzip/gzip + INSTALL_PROGRAM='${INSTALL}' + INSTALL_OPT_S="" PATH=$PWD/gzip:$PATH - export CC CFLAGS CXX CXXFLAGS CPPFLAGS TERM LDFLAGS + export CC CFLAGS CXX CXXFLAGS CPPFLAGS TERM LDFLAGS INSTALL_PROGRAM INSTALL_OPT_S # # Detect 64bit architecures and be sure that we use an # unsigned long for chtype to be backward compatible with @@ -689,9 +691,10 @@ mv tack-* tack make install DESTDIR=${PWD} TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed' TEST_LIBS='-lutil -lpthread -lpcre2-posix -lpcre2-8' %else make %{?_smp_mflags} TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed' TEST_LIBS='-lutil -lpthread' - make install DESTDIR=${PWD} TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed' TEST_LIBS='-lutil -lpthread' + make install DESTDIR=${PWD} INSTALL_PROG=install TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed' TEST_LIBS='-lutil -lpthread' %endif mv usr usr.back +cp Makefile Makefile.back make distclean popd %endif @@ -1136,6 +1139,8 @@ includedir5=%{_incdir}/ncurses5' "$pc" # pushd test mv usr.back usr + mkdir -p ./%{_mandir}/man6 + cp -p $(find -name '*.6') .%{_mandir}/man6/ (cd usr/; tar -cpSf - .) | tar -xpsSf - -C %{buildroot}%{_prefix} install -m 0755 %{S:8} %{buildroot}%{_libexecdir}/ncurses/ popd @@ -1233,7 +1238,7 @@ popd %{_libexecdir}/ncurses/* %dir %{_datadir}/ncurses/ %{_datadir}/ncurses/* -#%doc %{_mandir}/man6/*%{ext_man} +%doc %{_mandir}/man6/*%{ext_man} %files -n libncurses5 %defattr(-,root,root)