forked from pool/ncurses
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:
parent
c9298025c0
commit
202d65c046
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:320df657656585954a583758abf76e2d13a95333741c50ee6307691fbdd07ceb
|
oid sha256:1a3b21ac4bdea232b8833d71bf9b8ff5a47474733404463f655a54d789c01437
|
||||||
size 1943815
|
size 1965955
|
||||||
|
@ -860,7 +860,7 @@
|
|||||||
|
|
||||||
--- test/test.priv.h
|
--- test/test.priv.h
|
||||||
+++ test/test.priv.h 2021-01-11 07:27:32.121419944 +0000
|
+++ 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
|
#endif
|
||||||
|
|
||||||
/* out-of-band values for representing absent capabilities */
|
/* out-of-band values for representing absent capabilities */
|
||||||
|
@ -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>
|
Mon Feb 22 08:41:45 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
15
ncurses.spec
15
ncurses.spec
@ -705,6 +705,9 @@ mv tack-* tack
|
|||||||
--disable-opaque-panel \
|
--disable-opaque-panel \
|
||||||
--disable-ext-mouse \
|
--disable-ext-mouse \
|
||||||
--disable-widec \
|
--disable-widec \
|
||||||
|
%if %{with usepcre2}
|
||||||
|
--without-pcre2 \
|
||||||
|
%endif
|
||||||
--with-termlib=tinfo \
|
--with-termlib=tinfo \
|
||||||
--with-ticlib=tic \
|
--with-ticlib=tic \
|
||||||
%if %{with symversion}
|
%if %{with symversion}
|
||||||
@ -846,6 +849,9 @@ includedir5=%{_incdir}/ncurses5' "$pc"
|
|||||||
--disable-opaque-panel \
|
--disable-opaque-panel \
|
||||||
--disable-ext-mouse \
|
--disable-ext-mouse \
|
||||||
--enable-widec \
|
--enable-widec \
|
||||||
|
%if %{with usepcre2}
|
||||||
|
--without-pcre2 \
|
||||||
|
%endif
|
||||||
--with-termlib=%{soname_tinfo} \
|
--with-termlib=%{soname_tinfo} \
|
||||||
--with-ticlib=ticw \
|
--with-ticlib=ticw \
|
||||||
%if %{with symversion}
|
%if %{with symversion}
|
||||||
@ -895,6 +901,11 @@ includedir5=%{_incdir}/ncurses5' "$pc"
|
|||||||
%{root}%{_bindir}/ncursesw5-config
|
%{root}%{_bindir}/ncursesw5-config
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %{with usepcre2}
|
||||||
|
pcre2="-lpcre2-posix -lpcre2-8"
|
||||||
|
%else
|
||||||
|
pcre2=""
|
||||||
|
%endif
|
||||||
PATH=$PWD/gzip:$PATH
|
PATH=$PWD/gzip:$PATH
|
||||||
(cd %{root}/; tar -cpSf - *)|tar -xpsSf - -C %{buildroot}/
|
(cd %{root}/; tar -cpSf - *)|tar -xpsSf - -C %{buildroot}/
|
||||||
rm -rf %{root}
|
rm -rf %{root}
|
||||||
@ -913,12 +924,12 @@ includedir5=%{_incdir}/ncurses5' "$pc"
|
|||||||
libncursesw*)
|
libncursesw*)
|
||||||
rm -f ${lnk}
|
rm -f ${lnk}
|
||||||
echo '/* GNU ld script */' > ${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*)
|
libncurses*)
|
||||||
rm -f ${lnk}
|
rm -f ${lnk}
|
||||||
echo '/* GNU ld script */' > ${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
|
*) ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user