aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-10-19 06:41:42 +0800
committermbr <mbr@FreeBSD.org>2002-10-19 06:41:42 +0800
commit3843464ac69e8d6ee241271287aad53dac200e49 (patch)
tree9e47a92dd7951b9b9d3475e6934b1a383e0fcc1f /editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx
parent529c2450dbcf98c0c1428be22596a17c12202c4b (diff)
downloadfreebsd-ports-graphics-3843464ac69e8d6ee241271287aad53dac200e49.tar.gz
freebsd-ports-graphics-3843464ac69e8d6ee241271287aad53dac200e49.tar.zst
freebsd-ports-graphics-3843464ac69e8d6ee241271287aad53dac200e49.zip
First step to make this port working. Configure works and all patches
apply now. There are still some compile errors to fix. As you may see the patchnames are very long, but that makes maintaining patches a lot easier.
Diffstat (limited to 'editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx')
-rw-r--r--editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx b/editors/openoffice-3-devel/files/patch-psprint::source::printer::printerinfomanager.cxx
new file mode 100644
index 00000000000..0880976d081
--- /dev/null
+++ b/editors/openoffice-3-devel/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 }