diff options
author | mrauch <mrauch@pkgsrc.org> | 2002-03-02 09:18:49 +0000 |
---|---|---|
committer | mrauch <mrauch@pkgsrc.org> | 2002-03-02 09:18:49 +0000 |
commit | 9f90cf4a467666e3648d8145f8d6baf9cc87abf4 (patch) | |
tree | 6ba3c73826acb70d67f267bcabc25f3c8e89f86a /misc | |
parent | bc45afa583eb4af57431416b4e6e66dba27113b9 (diff) | |
download | pkgsrc-9f90cf4a467666e3648d8145f8d6baf9cc87abf4.tar.gz |
Remove the "lpstat: command not found" warning when starting OpenOffice.
Fixes PR# pkg/15678.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/openoffice/patches/patch-du | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/openoffice/patches/patch-du b/misc/openoffice/patches/patch-du new file mode 100644 index 00000000000..3963a6fca91 --- /dev/null +++ b/misc/openoffice/patches/patch-du @@ -0,0 +1,13 @@ +$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 } |