From owner-freebsd-ports Tue Mar 30 10:30:18 1999 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 7724915A52 for ; Tue, 30 Mar 1999 10:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id KAA26581; Tue, 30 Mar 1999 10:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from ckgppxy1.proxy.att.com (ckgppxy1.att.com [12.20.58.148]) by hub.freebsd.org (Postfix) with ESMTP id E8FA114CCD; Tue, 30 Mar 1999 10:25:03 -0800 (PST) (envelope-from shalunov@tuzik.lz.att.com) Received: from tuzik.lz.att.com ([135.25.200.84]) by ckgppxy1.proxy.att.com (AT&T/IPNS/GW-1.0) with ESMTP id NAA27780; Tue, 30 Mar 1999 13:24:39 -0500 (EST) Received: (from shalunov@localhost) by tuzik.lz.att.com (8.9.2/8.9.2) id NAA05144; Tue, 30 Mar 1999 13:27:05 -0500 (EST) (envelope-from shalunov) Message-Id: <199903301827.NAA05144@tuzik.lz.att.com> Date: Tue, 30 Mar 1999 13:27:05 -0500 (EST) From: stanislav shalunov Reply-To: shalunov@att.com To: FreeBSD-gnats-submit@freebsd.org Cc: andreas@freebsd.org, jan@tdb.uu.se X-Send-Pr-Version: 3.2 Subject: ports/10874: [PATCH] html2ps doesn't handle `file:/...' syntax Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10874 >Category: ports >Synopsis: [PATCH] html2ps doesn't handle `file:/...' syntax >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 30 10:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: stanislav shalunov >Release: FreeBSD 3.1-RELEASE i386 >Organization: AT&T >Environment: html2ps version 1.0 beta1 installed via ports collection on FreeBSD 3.1-RELEASE (`make install' in /usr/ports/print/html2ps). (Two normal ports collection patches applied: one changes name of Perl, the other one TeX dir location.) >Description: html2ps chokes on pictures inserted via Thus mswordview output isn't parsed properly. The output is, e.g., Error opening file:/usr/local/lib/mswordview/patterns/pagebreak.gif >How-To-Repeat: Process any HTML file with file:/... >Fix: --- /usr/local/bin/html2ps Tue Mar 23 14:28:36 1999 +++ html2ps Tue Mar 30 13:10:41 1999 @@ -4072,6 +4072,7 @@ $URL=$url; unless($url=~m|://|) { if($url=~m|^http:(.*)|) {$url=$1} + if($url=~m|^file:(.*)|) {$url=$1} if($url=~m|^/|) {$URL=$b1.$url} else {$URL=$b2.$url} } while($URL!~m|^\.\./| && $URL=~m|[^/]*/\.\./|) {$URL=$`.$'}; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message