ports/164298: [PATCH] Make print/foomatic-filters not eat PS files
Bruce A. Mah
bmah at kitchenlab.org
Wed Jan 18 22:10:10 UTC 2012
>Number: 164298
>Category: ports
>Synopsis: [PATCH] Make print/foomatic-filters not eat PS files
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 18 22:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Bruce A. Mah
>Release: FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD sakai.int.kitchenlab.org 8.2-RELEASE-p3 FreeBSD
8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
print/foomatic-filters has a bug in which it has difficulty
recognizing and/or working with PostScript files passed to it.
In particular, foomatic-filters seems to eat PostScript files,
producing no output whatsoever at the printer.
(I see this problem on print/foomatic-filters 4.0.7 on FreeBSD
8.2-RELEASE.)
The problem basically is that the file descriptors for the inputs get
out of sync with the C library streams.
The problem is described in (slightly) more detail here:
http://web.archiveorange.com/archive/v/I2ENlSHXMz8274ldkYqO
>How-To-Repeat:
Try printing a PostScript file through foomatic-filters.
>Fix:
One comment in the discussion thread mentions two patch files from
NetBSD. I downloaded those two patches to my FreeBSD system, rebuilt
the port, and this solved the problem for me.
http://cvsweb.se.netbsd.org/cgi-bin/bsdweb.cgi/~checkout~/pkgsrc/print/foomatic4-filters/patches/patch-ad?rev=1.1.1.1;content-type=text%2Fplain
http://cvsweb.se.netbsd.org/cgi-bin/bsdweb.cgi/~checkout~/pkgsrc/print/foomatic4-filters/patches/patch-ac?rev=1.1.1.1;content-type=text%2Fplain
Is it possible to add these two patches to the FreeBSD
print/foomatic-filters port?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list