Hello community, here is the log from the commit of package lynx for openSUSE:Factory checked in at 2017-04-03 11:04:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lynx (Old) and /work/SRC/openSUSE:Factory/.lynx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lynx" Mon Apr 3 11:04:05 2017 rev:31 rq:483997 version:2.8.8rel.2 Changes: -------- --- /work/SRC/openSUSE:Factory/lynx/lynx.changes 2017-02-11 01:31:31.830741195 +0100 +++ /work/SRC/openSUSE:Factory/.lynx.new/lynx.changes 2017-04-03 11:04:06.160204393 +0200 @@ -1,0 +2,12 @@ +Fri Mar 31 07:27:06 UTC 2017 - [email protected] + +- fix typo in url + +------------------------------------------------------------------- +Thu Mar 30 14:23:45 UTC 2017 - [email protected] + +- Update project Url as well as Url path of source tar ball +- Add patch lynx-2.8.8-ncurses-6.0-20170318.patch to work + around internal header definition of ncurses-6.0-20170318 + +------------------------------------------------------------------- New: ---- lynx-2.8.8-ncurses-6.0-20170318.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lynx.spec ++++++ --- /var/tmp/diff_new_pack.McGA8r/_old 2017-04-03 11:04:06.956091949 +0200 +++ /var/tmp/diff_new_pack.McGA8r/_new 2017-04-03 11:04:06.956091949 +0200 @@ -27,11 +27,11 @@ Release: 0 %define tarbase 2-8-8 %define dlbase 2.8.8 -Url: http://lynx.isc.org +Url: http://lynx.invisible-island.net/ Summary: A Text-Based WWW Browser License: GPL-2.0 Group: Productivity/Networking/Web/Browsers -Source: http://lynx.isc.org/%{name}%{dlbase}/%{name}%{version}.tar.bz2 +Source: http://invisible-mirror.net/archives/%{name}/tarballs/%{name}%{version}.tar.bz2 # Source1: po.tar.bz2 Patch100: lynx-2.8.5.dif Patch101: lynx-2.8.5-charset.patch @@ -39,6 +39,8 @@ Patch103: lynx-no-build-date.patch Patch104: lynx-2.8.8-expired-cookie-crash.patch Patch105: lynx-CVE-2016-9179.patch +# Workaround for ncurses-6.0-20170318 +Patch106: lynx-2.8.8-ncurses-6.0-20170318.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lynxssl = %version Obsoletes: lynxssl < %version @@ -58,6 +60,7 @@ %patch103 %patch104 %patch105 -p1 +%patch106 -p1 # containing a few test msg's only: # rm -f po/{es,fr,it,ko,no,pl,pt}.po ++++++ lynx-2.8.8-ncurses-6.0-20170318.patch ++++++ Workaround for ncurses 6.0 patchlevel 20170318 + change TERMINAL structure in term.h to make it opaque. Some applications misuse its members, e.g., directly modifying it rather than using def_prog_mode(). --- lynx2-8-8/src/LYCurses.h | 4 ++++ lynx2-8-8/src/LYStrings.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) --- lynx2-8-8/src/LYCurses.h +++ lynx2-8-8/src/LYCurses.h 2017-03-30 14:16:32.181566069 +0000 @@ -234,6 +234,7 @@ typedef char chtype; # define getbkgd(w) wgetbkgd(w) /* workaround pre-1.9.9g bug */ # endif +# define NCURSES_INTERNALS 1 # ifdef FANCY_CURSES # if defined(NCURSES) && defined(HAVE_NCURSESW_TERM_H) # include <ncursesw/term.h> @@ -251,6 +252,9 @@ typedef char chtype; # endif # endif +# define CUR_TP ((TERMTYPE *)(cur_term)) +# undef NCURSES_INTERNALS + # if defined(NCURSES_VERSION) && defined(HAVE_DEFINE_KEY) # define USE_KEYMAPS 1 # endif --- lynx2-8-8/src/LYStrings.c +++ lynx2-8-8/src/LYStrings.c 2017-03-30 13:54:46.564223023 +0000 @@ -1008,8 +1008,8 @@ static const char *expand_tiname(const c LYStrNCpy(name, first, len); if ((code = lookup_tiname(name, strnames)) >= 0 || (code = lookup_tiname(name, strfnames)) >= 0) { - if (cur_term->type.Strings[code] != 0) { - LYStrNCpy(*result, cur_term->type.Strings[code], (final - *result)); + if (CUR_TP->Strings[code] != 0) { + LYStrNCpy(*result, CUR_TP->Strings[code], (final - *result)); (*result) += strlen(*result); } }
