aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-03-08 05:56:45 +0800
committermaho <maho@FreeBSD.org>2008-03-08 05:56:45 +0800
commit31039b334905f7ec8f9db9cc00dbe9cffd0eb790 (patch)
tree34ed1192ba8a06a1278527accff29df9333c29c9 /editors/openoffice-3
parenta29301f7637d39f9b704d4280705b0462cbb2b40 (diff)
downloadfreebsd-ports-gnome-31039b334905f7ec8f9db9cc00dbe9cffd0eb790.tar.gz
freebsd-ports-gnome-31039b334905f7ec8f9db9cc00dbe9cffd0eb790.tar.zst
freebsd-ports-gnome-31039b334905f7ec8f9db9cc00dbe9cffd0eb790.zip
Mute "paperconf not found error".
Submitted by: jkim
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/files/patch-i8655818
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-i86558 b/editors/openoffice-3/files/patch-i86558
new file mode 100644
index 000000000000..ff723e835f09
--- /dev/null
+++ b/editors/openoffice-3/files/patch-i86558
@@ -0,0 +1,18 @@
+--- psprint/source/printer/printerinfomanager.cxx.orig 2007-12-12 09:56:19.000000000 -0500
++++ psprint/source/printer/printerinfomanager.cxx 2008-02-28 17:46:34.000000000 -0500
+@@ -145,12 +145,12 @@
+ bool bSuccess = false;
+
+ // try libpaper
+- #ifdef SOLARIS
++ #ifdef LINUX
+ // #i78617# workaround missing paperconf command; on e.g. Linux
+ // the 2>/dev/null works on the started shell also
+- FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
+- #else
+ FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
++ #else
++ FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
+ #endif
+ if( pPipe )
+ {