aboutsummaryrefslogtreecommitdiffstats
path: root/editors/ted/files
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-08-18 10:48:32 +0800
committerpetef <petef@FreeBSD.org>2003-08-18 10:48:32 +0800
commit47fc7225ff1e1537226fd91a56b1a555873cf457 (patch)
treef5b10947b5ad908bc7a0f302c471b4149c817cf9 /editors/ted/files
parentb5b4a7e2743b2547d012b21d3aa2db144a9a9b9f (diff)
downloadfreebsd-ports-gnome-47fc7225ff1e1537226fd91a56b1a555873cf457.tar.gz
freebsd-ports-gnome-47fc7225ff1e1537226fd91a56b1a555873cf457.tar.zst
freebsd-ports-gnome-47fc7225ff1e1537226fd91a56b1a555873cf457.zip
- use the proper lpc syntax to get a printer list
- bump PORTREVISION PR: 37362 Submitted by: maintainer Reported by: Greg Shenaut <gkshenaut@ucdavis.edu>
Diffstat (limited to 'editors/ted/files')
-rw-r--r--editors/ted/files/patch-appUtil::utilPrinter.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/ted/files/patch-appUtil::utilPrinter.c b/editors/ted/files/patch-appUtil::utilPrinter.c
new file mode 100644
index 000000000000..5851e93e36ba
--- /dev/null
+++ b/editors/ted/files/patch-appUtil::utilPrinter.c
@@ -0,0 +1,20 @@
+ $FreeBSD$
+
+ --- appUtil/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 );
+ }