9f90cf4a46
Fixes PR# pkg/15678.
13 lines
547 B
Text
13 lines
547 B
Text
$NetBSD: patch-du,v 1.1 2002/03/02 09:18:49 mrauch Exp $
|
|
|
|
--- ../psprint/source/printer/printerinfomanager.cxx.orig Mon Aug 6 13:46:21 2001
|
|
+++ ../psprint/source/printer/printerinfomanager.cxx
|
|
@@ -883,7 +883,7 @@
|
|
|
|
static const struct SystemCommandParameters aParms[] =
|
|
{
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) || defined(NETBSD)
|
|
{ "/usr/sbin/lpc status", "lpr -P (PRINTER)", "", ":", 0 },
|
|
{ "lpc status", "lpr -P (PRINTER)", "", ":", 0 },
|
|
{ "LANG=C;LC_ALL=C;export LANG LC_ALL;lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 }
|