diff options
author | maho <maho@FreeBSD.org> | 2008-03-07 21:56:45 +0000 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2008-03-07 21:56:45 +0000 |
commit | 31039b334905f7ec8f9db9cc00dbe9cffd0eb790 (patch) | |
tree | 34ed1192ba8a06a1278527accff29df9333c29c9 /editors/openoffice.org-2-devel | |
parent | a29301f7637d39f9b704d4280705b0462cbb2b40 (diff) | |
download | FreeBSD-ports-31039b334905f7ec8f9db9cc00dbe9cffd0eb790.zip FreeBSD-ports-31039b334905f7ec8f9db9cc00dbe9cffd0eb790.tar.gz |
Mute "paperconf not found error".
Submitted by: jkim
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r-- | editors/openoffice.org-2-devel/files/patch-i86558 | 18 |
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 0000000..ff723e8 --- /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 ) + { |