Subject: pkg/12186:
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: netbsd-bugs
Date: 02/11/2001 13:24:21
>Number: 12186
>Category: pkg
>Synopsis:
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 11 13:27:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael van Elst
>Release: NetBSD-1.5.1_ALPHA
>Organization:
>Environment:
System: NetBSD duffy 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (DUFFY) #0: Sun Feb 11 17:51:26 MET 2001 src@duffy:/amd/fud/d/0/src/sys/arch/i386/compile/DUFFY i386
>Description:
w3m-0.1.11-pre from the package collection does not compile. make
aborts with:
cc -O -I/usr/pkg/include -I/usr/include/openssl -I/usr/include -I. -c file.c
file.c: In function `getNextPage':
file.c:5242: `code' undeclared (first use in this function)
file.c:5242: (Each undeclared identifier is reported only once
file.c:5242: for each function it appears in.)
*** Error code 1
Reason is that line 5242 should only be called if JP_CHARSET is defined.
The proper #ifdef is missing.
>How-To-Repeat:
make sure that W3M_USE_JAPANESE is not set to YES in the Makefile.
cd pkgsrc/www/w3m ; make
>Fix:
Add #ifdef to file.c:5242
#ifdef CHARSET_JP
lineBuf2 = convertLine(&uf, lineBuf2, &code);
#endif
>Release-Note:
>Audit-Trail:
>Unformatted:
no
w3m-0.1.11-pre does not compile
serious
low