diff options
Diffstat (limited to 'graphics/kdegraphics3/patches/patch-ao')
-rw-r--r-- | graphics/kdegraphics3/patches/patch-ao | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/kdegraphics3/patches/patch-ao b/graphics/kdegraphics3/patches/patch-ao index 1b28ebe0166..2c821c7c990 100644 --- a/graphics/kdegraphics3/patches/patch-ao +++ b/graphics/kdegraphics3/patches/patch-ao @@ -1,4 +1,4 @@ -$NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $ +$NetBSD: patch-ao,v 1.2 2003/05/05 12:28:27 markd Exp $ --- kghostview/kpswidget.cpp.orig Mon Sep 16 09:12:40 2002 +++ kghostview/kpswidget.cpp @@ -16,7 +16,7 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $ _fileName = fileName; stopInterpreter(); _ghostscriptDirty = true; -@@ -508,8 +509,11 @@ void KPSWidget::startInterpreter() +@@ -508,8 +509,12 @@ void KPSWidget::startInterpreter() for( ; it != _ghostscriptArguments.end(); ++it ) *_process << (*it); @@ -26,11 +26,12 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $ + *_process << + // The following two lines are their to ensure that we are allowed to read _fileName + "-dDELAYSAFER" << "-sInputFile="+_fileName << "-c" << -+ "<< /PermitFileReading [ InputFile ] /PermitFileWriting [] /PermitFileControl [] >> setuserparams .locksafe"; ++ "<< /PermitFileReading [ InputFile ] /PermitFileWriting [] /PermitFileControl [] >> setuserparams .locksafe" << ++ "-"; else *_process << _fileName << "-c" << "quit"; -@@ -527,7 +531,7 @@ void KPSWidget::startInterpreter() +@@ -527,7 +532,7 @@ void KPSWidget::startInterpreter() // Finally fire up the interpreter. kdDebug(4500) << "KPSWidget: starting interpreter" << endl; if( _process->start( KProcess::NotifyOnExit, @@ -39,7 +40,7 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $ { _interpreterBusy = true; setCursor( waitCursor ); -@@ -648,7 +652,7 @@ void KPSWidget::readSettings() +@@ -648,7 +653,7 @@ void KPSWidget::readSettings() if( !intConfig->platformFonts() ) arguments << "-dNOPLATFONTS"; |