Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 19:10:14 -0700 (PDT)
From:      Jonathan <j.e.drews@worldnet.att.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/37362: The Ted port is incompatible with FreeBSD lpc(1)
Message-ID:  <200308180210.h7I2AEx8037627@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/37362; it has been noted by GNATS.

From: Jonathan <j.e.drews@worldnet.att.net>
To: freebsd-gnats-submit@FreeBSD.org, gkshenaut@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--
 



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