From owner-freebsd-ports Wed Mar 29 15:30: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 36F8D37BBBC for ; Wed, 29 Mar 2000 15:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA74994; Wed, 29 Mar 2000 15:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2B31037B5EB for ; Wed, 29 Mar 2000 15:25:08 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA74049; Wed, 29 Mar 2000 15:25:08 -0800 (PST) (envelope-from nobody@FreeBSD.org) Message-Id: <200003292325.PAA74049@freefall.freebsd.org> Date: Wed, 29 Mar 2000 15:25:08 -0800 (PST) From: timlee@netcom.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/17673: w3m port bugs Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17673 >Category: ports >Synopsis: w3m port bugs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 29 15:30:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Timothy J. Lee >Release: ports current >Organization: >Environment: FreeBSD minos.dsllogic.com 3.4-STABLE FreeBSD 3.4-STABLE #2: Thu Mar 9 20:41:02 PST 2000 root@minos.dsllogic.com:/usr/src/sys/compile/MINOS i386 >Description: w3m has the following bugs: a. w3m-ssl port does not compile (with openssl-0.9.4 installed from the ports collection): ===> Building for w3m-ssl-0.1.7 `Makefile' is up to date. make -f XXMakefile cc -pipe -pipe -I/openssl -I -I/usr/local/include -I. -c main.c In file included from fm.h:25, from main.c:4: html.h:5: ssl.h: No such file or directory In file included from main.c:4: fm.h:26: gc.h: No such file or directory In file included from proto.h:466, from fm.h:632, from main.c:4: indep.h:3: gc.h: No such file or directory In file included from fm.h:25, from main.c:4: html.h:45: parse error before `SSL' html.h:45: warning: no semicolon at end of struct or union html.h:48: parse error before `}' In file included from fm.h:632, from main.c:4: proto.h:370: parse error before `*' *** Error code 1 Stop. b. w3m core dumps if you press 'F' for frame rendering (but just going to the frames with \r works like lynx). For an example, just go to http://www.securityfocus.com and press 'F'. Patch below stops the core dump, but then 'F' does not do anything: --- frame.c.orig Wed Mar 29 15:03:14 2000 +++ frame.c Wed Mar 29 14:58:58 2000 @@ -634,6 +634,7 @@ tmp = Sprintf("%s/w3mframe%d.%lx.html", rc_dir,getpid(), (unsigned long)Cbuf->frameQ); + if (Cbuf == NULL || Cbuf->frameQ == NULL) return NULL; f = fopen(tmp->ptr,"w"); if (f == NULL) return NULL; if (createFrameFile(Cbuf->frameQ->frameset, f, Cbuf, 0) < 0) >How-To-Repeat: See above. >Fix: See above. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message