summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-02 21:41:34 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-02 21:41:34 +0000
commitc0bcf00e1bbd6fd33cfeed3b9612b2a5faeb39d1 (patch)
tree1a9f5e7ad35d941f79ae3e514df10ea9db17811d /editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx
parentUpdate to 0.4.5. (diff)
Another patchset from Carlos Fernando Assis Paniago <pan@cnpm.embrapa.br>
Notes
Notes: svn path=/head/; revision=55416
Diffstat (limited to 'editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx')
-rw-r--r--editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx b/editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx
new file mode 100644
index 000000000000..5ebff3ce7d3e
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-ppsprint::source::printer::printerinfomanager.cxx
@@ -0,0 +1,11 @@
+--- ../psprint/source/printer/printerinfomanager.cxx.orig Sat Mar 2 22:16:34 2002
++++ ../psprint/source/printer/printerinfomanager.cxx Sat Mar 2 22:16:12 2002
+@@ -883,7 +883,7 @@
+
+ static const struct SystemCommandParameters aParms[] =
+ {
+-#ifdef LINUX
++#ifdef LINUX || defined(FREEBSD) || 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 }