summaryrefslogtreecommitdiff
path: root/editors/ted/files/patch-appUtil-utilPrinter.c
diff options
context:
space:
mode:
authorPo-Chien Lin <pclin@FreeBSD.org>2013-02-18 12:36:09 +0000
committerPo-Chien Lin <pclin@FreeBSD.org>2013-02-18 12:36:09 +0000
commitc37bcf69715028cd8a9c55ad8dd22e3775bff16b (patch)
treea4ed391eff1a666a0ff1ad549fc2987786fe4dc5 /editors/ted/files/patch-appUtil-utilPrinter.c
parentConvert Makefile headers to the new format. (diff)
- Update to 2.23
- Remove ABI version number of LIB_DEPENDS - Rename patch to pet portlint(1) - Sort pkg-plist - Take maintainership PR: ports/175956 Approved by: swills (mentor)
Notes
Notes: svn path=/head/; revision=312503
Diffstat (limited to 'editors/ted/files/patch-appUtil-utilPrinter.c')
-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..87b9ee1e2cd0
--- /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
+ @@ -331,14 +331,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 );
+ }