lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] lynx-2.8.8rel2 bugfix for ncursesw on NetBSD


From: Thomas Klausner
Subject: [Lynx-dev] lynx-2.8.8rel2 bugfix for ncursesw on NetBSD
Date: Fri, 12 Sep 2014 23:29:27 +0200

Hi!

Leonard Schmidt reported a bug against lynx in pkgsrc when compiling
with ncursesw, see http://gnats.netbsd.org/49200

I can confirm that without the patch below, I get the following
compilation issue:

LYStrings.c: In function 'expand_tiname':
LYStrings.c:1009:37: error: 'strnames' undeclared (first use in this function)
     if ((code = lookup_tiname(name, strnames)) >= 0
                                     ^
LYStrings.c:1009:37: note: each undeclared identifier is reported only once for 
each function it appears in
LYStrings.c:1010:33: error: 'strfnames' undeclared (first use in this function)
  || (code = lookup_tiname(name, strfnames)) >= 0) {
                                 ^
LYStrings.c:1011:6: error: 'cur_term' undeclared (first use in this function)
  if (cur_term->type.Strings[code] != 0) {
      ^

on NetBSD-7.99.1/x86_64 with gcc-4.8.3.

The patch is attached, please include it.

Thanks,
 Thomas

Attachment: patch-src_LYStrings.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]