Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 15:25:08 -0800 (PST)
From:      timlee@netcom.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17673: w3m port bugs
Message-ID:  <200003292325.PAA74049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003292325.PAA74049>