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
Subject: Re: ports/37362: The Ted port is incompatible with FreeBSD lpc(1)
Date: Sun, 17 Aug 2003 21:06:44 -0500

 Content-Type: text/plain;
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
  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.
 Content-Type: text/x-csrc;
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 --- /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 );

More information about the freebsd-ports-bugs mailing list