Accepting request 741817 from Base:System
- Add ncurses patch 20191019 + modify make_hash to not require --disable-leaks, to simplify building with address-sanitizer. + modify tic to exit if it cannot remove a conflicting name, because treating that as a partial success can cause an infinite loop in use-resolution (report/testcase by Hongxu Chen, cf: 20111001). - Add ncurses patch 20191015 + improve buffer-checks in captoinfo.c, for some cases when the input string is shorter than expected. > fix two errata in tic (report/testcases by Hongxu Chen): + check for missing character after backslash in write_it + check for missing characters after "%>" when converting from termcap syntax (cf: 980530). - Avoid recursion trouble in spec file cause by undefined _lto_cflags - Add ncurses patch 20191012 + amend recent changes to ncurses*-config and pc-files to filter out Debian linker-flags (report by Sven Joachim, cf: 20150516). + clarify relationship between tic, infocmp and captoinfo in manpage. + check for invalid hashcode in _nc_find_type_entry and _nc_find_name_entry. > fix several errata in tic (reports/testcases by "zjuchenyuan"): + check for invalid hashcode in _nc_find_entry. + check for missing character after backslash in fmt_entry + check for acsc with odd length in dump_entry in check for one-one mapping (cf: 20060415); + check length when converting from old AIX box_chars_1 capability, overlooked in changes to eliminate strcpy (cf: 20001007). OBS-URL: https://build.opensuse.org/request/show/741817 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ncurses?expand=0&rev=162
This commit is contained in:
commit
db791b9d51
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b6d8df4715c593b4eb3982bfa31cfcfe9a157a606c5297d47437f3de3ce075c7
|
oid sha256:b400fba7133897bd151f9f3eac34fc35148232347c7fc9f09ddd6e9c371e1476
|
||||||
size 1879736
|
size 1895002
|
||||||
|
@ -359,16 +359,7 @@
|
|||||||
arrays of characters representing all or part of a CRT screen.
|
arrays of characters representing all or part of a CRT screen.
|
||||||
--- misc/gen-pkgconfig.in
|
--- misc/gen-pkgconfig.in
|
||||||
+++ misc/gen-pkgconfig.in 2019-08-12 08:07:59.759015287 +0000
|
+++ misc/gen-pkgconfig.in 2019-08-12 08:07:59.759015287 +0000
|
||||||
@@ -78,7 +78,7 @@ if [ "$includedir" != "/usr/include" ];
|
@@ -127,6 +127,7 @@ do
|
||||||
fi
|
|
||||||
|
|
||||||
LDFLAGS=
|
|
||||||
-if [ "$libdir" != "/usr/lib" ]; then
|
|
||||||
+if [ "$libdir" != "/usr/lib" -a "$libdir" != "/usr/lib64" ]; then
|
|
||||||
LDFLAGS="$LDFLAGS -L\${libdir}"
|
|
||||||
fi
|
|
||||||
if [ "x@EXTRA_LDFLAGS@" != "x" ]; then
|
|
||||||
@@ -101,6 +101,7 @@ do
|
|
||||||
LIBS="-l$name"
|
LIBS="-l$name"
|
||||||
|
|
||||||
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
|
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
|
||||||
@ -376,7 +367,7 @@
|
|||||||
reqs=
|
reqs=
|
||||||
|
|
||||||
if [ $name = $MAIN_LIBRARY ]; then
|
if [ $name = $MAIN_LIBRARY ]; then
|
||||||
@@ -110,9 +111,11 @@ do
|
@@ -137,9 +138,11 @@ do
|
||||||
desc="$desc terminal interface library"
|
desc="$desc terminal interface library"
|
||||||
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
|
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
|
||||||
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
|
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
|
||||||
@ -388,7 +379,7 @@
|
|||||||
desc="$desc add-on library"
|
desc="$desc add-on library"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -122,6 +125,8 @@ do
|
@@ -149,6 +152,8 @@ do
|
||||||
[ $NEED_TINFO != yes ] ; then
|
[ $NEED_TINFO != yes ] ; then
|
||||||
[ -n "$reqs" ] && reqs="$reqs, "
|
[ -n "$reqs" ] && reqs="$reqs, "
|
||||||
reqs="${reqs}${SUB_LIBRARY}${suffix}"
|
reqs="${reqs}${SUB_LIBRARY}${suffix}"
|
||||||
|
@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 21 09:33:41 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add ncurses patch 20191019
|
||||||
|
+ modify make_hash to not require --disable-leaks, to simplify building
|
||||||
|
with address-sanitizer.
|
||||||
|
+ modify tic to exit if it cannot remove a conflicting name, because
|
||||||
|
treating that as a partial success can cause an infinite loop in
|
||||||
|
use-resolution (report/testcase by Hongxu Chen, cf: 20111001).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 08:29:53 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add ncurses patch 20191015
|
||||||
|
+ improve buffer-checks in captoinfo.c, for some cases when the
|
||||||
|
input string is shorter than expected.
|
||||||
|
> fix two errata in tic (report/testcases by Hongxu Chen):
|
||||||
|
+ check for missing character after backslash in write_it
|
||||||
|
+ check for missing characters after "%>" when converting from termcap
|
||||||
|
syntax (cf: 980530).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 10:04:05 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Avoid recursion trouble in spec file cause by undefined _lto_cflags
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 06:38:31 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add ncurses patch 20191012
|
||||||
|
+ amend recent changes to ncurses*-config and pc-files to filter out
|
||||||
|
Debian linker-flags (report by Sven Joachim, cf: 20150516).
|
||||||
|
+ clarify relationship between tic, infocmp and captoinfo in manpage.
|
||||||
|
+ check for invalid hashcode in _nc_find_type_entry and
|
||||||
|
_nc_find_name_entry.
|
||||||
|
> fix several errata in tic (reports/testcases by "zjuchenyuan"):
|
||||||
|
+ check for invalid hashcode in _nc_find_entry.
|
||||||
|
+ check for missing character after backslash in fmt_entry
|
||||||
|
+ check for acsc with odd length in dump_entry in check for one-one
|
||||||
|
mapping (cf: 20060415);
|
||||||
|
+ check length when converting from old AIX box_chars_1 capability,
|
||||||
|
overlooked in changes to eliminate strcpy (cf: 20001007).
|
||||||
|
- Add ncurses patch 20191005
|
||||||
|
+ modify the ncurse*-config and pc-files to more closely match for the
|
||||||
|
-I and -l options.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 1 07:28:54 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
Tue Oct 1 07:28:54 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -314,7 +314,7 @@ mv tack-* tack
|
|||||||
%patch0 -p0 -b .p0
|
%patch0 -p0 -b .p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
||||||
#
|
#
|
||||||
# Note that there is a test if the system call poll(2) really works
|
# Note that there is a test if the system call poll(2) really works
|
||||||
# on terminal or files. To make sure that even in OBS the configure
|
# on terminal or files. To make sure that even in OBS the configure
|
||||||
|
Loading…
Reference in New Issue
Block a user