Update to ncurses-6.2 patch 20210306

OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=533
This commit is contained in:
Dr. Werner Fink 2021-03-09 11:25:12 +00:00 committed by Git OBS Bridge
parent c9298025c0
commit 202d65c046
4 changed files with 40 additions and 5 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:320df657656585954a583758abf76e2d13a95333741c50ee6307691fbdd07ceb
size 1943815
oid sha256:1a3b21ac4bdea232b8833d71bf9b8ff5a47474733404463f655a54d789c01437
size 1965955

View File

@ -860,7 +860,7 @@
--- test/test.priv.h
+++ test/test.priv.h 2021-01-11 07:27:32.121419944 +0000
@@ -1024,12 +1024,12 @@ extern char *_nc_strstr(const char *, co
@@ -1027,12 +1027,12 @@ extern char *_nc_strstr(const char *, co
#endif
/* out-of-band values for representing absent capabilities */

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Mar 9 11:16:31 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Only libpcre2 for ncurses ABI 6
- Make linker script fpr ABI 6 check for needed libpcre2
-------------------------------------------------------------------
Tue Mar 9 09:02:47 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Add ncurses patch 20210306
+ improved test/test_parm.c, by limiting the tests to capabilities
that might have parameters or padding, and combined with tputs test.
+ improve discussion of padding versus tparm and tputs in
man/curs_terminfo.3x
+ update portability note for FreeBSD in man/tput.1
-------------------------------------------------------------------
Mon Mar 1 07:15:42 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Add ncurses patch 20210227
+ modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
terminfo format.
+ add check in tic for duplicate "use=" clauses.
-------------------------------------------------------------------
Mon Feb 22 08:41:45 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -705,6 +705,9 @@ mv tack-* tack
--disable-opaque-panel \
--disable-ext-mouse \
--disable-widec \
%if %{with usepcre2}
--without-pcre2 \
%endif
--with-termlib=tinfo \
--with-ticlib=tic \
%if %{with symversion}
@ -846,6 +849,9 @@ includedir5=%{_incdir}/ncurses5' "$pc"
--disable-opaque-panel \
--disable-ext-mouse \
--enable-widec \
%if %{with usepcre2}
--without-pcre2 \
%endif
--with-termlib=%{soname_tinfo} \
--with-ticlib=ticw \
%if %{with symversion}
@ -895,6 +901,11 @@ includedir5=%{_incdir}/ncurses5' "$pc"
%{root}%{_bindir}/ncursesw5-config
%install
%if %{with usepcre2}
pcre2="-lpcre2-posix -lpcre2-8"
%else
pcre2=""
%endif
PATH=$PWD/gzip:$PATH
(cd %{root}/; tar -cpSf - *)|tar -xpsSf - -C %{buildroot}/
rm -rf %{root}
@ -913,12 +924,12 @@ includedir5=%{_incdir}/ncurses5' "$pc"
libncursesw*)
rm -f ${lnk}
echo '/* GNU ld script */' > ${lnk}
echo "INPUT(${lib} AS_NEEDED(-l%{soname_tinfo} -ldl))" >> ${lnk}
echo "INPUT(${lib} AS_NEEDED(-l%{soname_tinfo} -ldl $pcre2))" >> ${lnk}
;;
libncurses*)
rm -f ${lnk}
echo '/* GNU ld script */' > ${lnk}
echo "INPUT(${lib} AS_NEEDED(-ltinfo -ldl))" >> ${lnk}
echo "INPUT(${lib} AS_NEEDED(-ltinfo -ldl $pcre2))" >> ${lnk}
;;
*) ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so
esac