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:
Dominique Leuenberger 2019-10-25 16:38:42 +00:00 committed by Git OBS Bridge
commit db791b9d51
4 changed files with 52 additions and 15 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6d8df4715c593b4eb3982bfa31cfcfe9a157a606c5297d47437f3de3ce075c7
size 1879736
oid sha256:b400fba7133897bd151f9f3eac34fc35148232347c7fc9f09ddd6e9c371e1476
size 1895002

View File

@ -359,16 +359,7 @@
arrays of characters representing all or part of a CRT screen.
--- misc/gen-pkgconfig.in
+++ misc/gen-pkgconfig.in 2019-08-12 08:07:59.759015287 +0000
@@ -78,7 +78,7 @@ if [ "$includedir" != "/usr/include" ];
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
@@ -127,6 +127,7 @@ do
LIBS="-l$name"
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
@ -376,7 +367,7 @@
reqs=
if [ $name = $MAIN_LIBRARY ]; then
@@ -110,9 +111,11 @@ do
@@ -137,9 +138,11 @@ do
desc="$desc terminal interface library"
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
@ -388,7 +379,7 @@
desc="$desc add-on library"
fi
@@ -122,6 +125,8 @@ do
@@ -149,6 +152,8 @@ do
[ $NEED_TINFO != yes ] ; then
[ -n "$reqs" ] && reqs="$reqs, "
reqs="${reqs}${SUB_LIBRARY}${suffix}"

View File

@ -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>

View File

@ -314,7 +314,7 @@ mv tack-* tack
%patch0 -p0 -b .p0
%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
# on terminal or files. To make sure that even in OBS the configure