aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-03-07 21:56:45 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-03-07 21:56:45 +0000
commit04c84963bbe2c6b99ff121fc2a685724bd7805fc (patch)
tree162b18af6b50f6a75356b5e18ae4485170e4e9b5 /editors/openoffice.org-2-devel
parent5e9954c906f85d0fe2331d3515631d7e74ba4000 (diff)
downloadports-04c84963bbe2c6b99ff121fc2a685724bd7805fc.tar.gz
ports-04c84963bbe2c6b99ff121fc2a685724bd7805fc.zip
Mute "paperconf not found error".
Submitted by: jkim
Notes
Notes: svn path=/head/; revision=208628
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r--editors/openoffice.org-2-devel/files/patch-i8655818
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice.org-2-devel/files/patch-i86558 b/editors/openoffice.org-2-devel/files/patch-i86558
new file mode 100644
index 000000000000..ff723e835f09
--- /dev/null
+++ b/editors/openoffice.org-2-devel/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 )
+ {