ports/37362: The Ted port is incompatible with FreeBSD lpc(1)
Jonathan
j.e.drews at worldnet.att.net
Mon Aug 18 02:10:15 UTC 2003
The following reply was made to PR ports/37362; it has been noted by GNATS.
From: Jonathan <j.e.drews at worldnet.att.net>
To: freebsd-gnats-submit at FreeBSD.org, gkshenaut at ucdavis.edu
Cc:
Subject: Re: ports/37362: The Ted port is incompatible with FreeBSD lpc(1)
Date: Sun, 17 Aug 2003 21:06:44 -0500
--Boundary-00=_0SDQ/VyrBtqGekp
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi:
Below is the patch to fix the lpc problem. The port was tested in accordance
with section 2.4 of the Porters Handbook. Portlint -Av was run and only two
warnings were generated. Both of them were trivial. The patched Ted port was
tested for printing on a Canon S300 printer using CUPS. Footnotes,
strikethrough, Subscript, Superscript, Symbol font, Tables and embedded
pictures printed OK. Endnotes are broken, I have notified the developer about
this. He will get a fix for it in the future.
Place the following patch in /usr/ports/editors/ted/files
I apologize for the extreme tardiness in getting this port fixed.
--Boundary-00=_0SDQ/VyrBtqGekp
Content-Type: text/x-csrc;
charset="us-ascii";
name="patch-appUtil-utilPrinter.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-appUtil-utilPrinter.c"
--- /home/fbsd/utilPrinter.c Sun Aug 17 19:14:01 2003
+++ appUtil/utilPrinter.c Sun Aug 17 19:15:54 2003
@@ -281,14 +281,14 @@
/* 1 */
if ( count == 0 )
{
- utilPrinterGetLprPrinters( "( lpc status ) 2>/dev/null",
+ utilPrinterGetLprPrinters( "( lpc status all) 2>/dev/null",
&defaultPrinter, &count, &pd );
}
/* 1b */
if ( count == 0 )
{
- utilPrinterGetLprPrinters( "( /usr/sbin/lpc status ) 2>/dev/null",
+ utilPrinterGetLprPrinters( "( /usr/sbin/lpc status all) 2>/dev/null",
&defaultPrinter, &count, &pd );
}
--Boundary-00=_0SDQ/VyrBtqGekp--
More information about the freebsd-ports-bugs
mailing list