summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/ted/Makefile1
-rw-r--r--editors/ted/files/patch-appUtil::utilPrinter.c20
2 files changed, 21 insertions, 0 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile
index 796095a8a56e..dfd87d49d02b 100644
--- a/editors/ted/Makefile
+++ b/editors/ted/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ted
PORTVERSION= 2.14
+PORTREVISION= 1
CATEGORIES= editors textproc print
MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/
EXTRACT_SUFX= .src.tar.gz
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 );
+ }