mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Mute "paperconf not found error".
Submitted by: jkim
This commit is contained in:
parent
5e9954c906
commit
04c84963bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208628
18
editors/openoffice-3-devel/files/patch-i86558
Normal file
18
editors/openoffice-3-devel/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice-3/files/patch-i86558
Normal file
18
editors/openoffice-3/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-2-RC/files/patch-i86558
Normal file
18
editors/openoffice.org-2-RC/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-2-devel/files/patch-i86558
Normal file
18
editors/openoffice.org-2-devel/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-2/files/patch-i86558
Normal file
18
editors/openoffice.org-2/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-3-RC/files/patch-i86558
Normal file
18
editors/openoffice.org-3-RC/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-3-devel/files/patch-i86558
Normal file
18
editors/openoffice.org-3-devel/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-3/files/patch-i86558
Normal file
18
editors/openoffice.org-3/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
18
editors/openoffice.org-vcltesttool/files/patch-i86558
Normal file
18
editors/openoffice.org-vcltesttool/files/patch-i86558
Normal file
@ -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 )
|
||||
{
|
Loading…
Reference in New Issue
Block a user