summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx')
-rw-r--r--editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx b/editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx
new file mode 100644
index 000000000000..0880976d0815
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-psprint::source::printer::printerinfomanager.cxx
@@ -0,0 +1,11 @@
+--- ../psprint/source/printer/printerinfomanager.cxx.orig Wed Oct 16 00:02:09 2002
++++ ../psprint/source/printer/printerinfomanager.cxx Fri Oct 18 20:02:54 2002
+@@ -883,7 +883,7 @@
+
+ static const struct SystemCommandParameters aParms[] =
+ {
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ { "/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 }