components/ghostscript/patches/05-5045800.patch
changeset 345 61b29cf8b717
parent 178 4340c0d63702
child 7819 b1bca76ec901
equal deleted inserted replaced
344:f3d9af4cada9 345:61b29cf8b717
     1 *** ghostscript-8.64/Resource/Init/gs_init.ps.orig	Thu Jan  8 01:17:18 2009
     1 --- ghostscript-9.00/Resource/Init/gs_init.ps.orig	Tue Sep 14 07:56:26 2010
     2 --- ghostscript-8.64/Resource/Init/gs_init.ps	Tue Sep  1 15:20:59 2009
     2 +++ ghostscript-9.00/Resource/Init/gs_init.ps	Fri Oct 15 03:50:03 2010
     3 ***************
     3 @@ -2016,7 +2016,7 @@
     4 *** 2031,2037 ****
     4  {
     5   {
     5    SAFETY /safe get not {
     6     SAFETY /safe get not {
     6      <<
     7       <<
     7 -      /PermitFileReading [ ]
     8 !       /PermitFileReading [ ]
     8 +      /PermitFileReading [ (/usr/openwin/lib/*) (/usr/X11/lib/*) (/usr/share/ghostscript/*) ]
     9         /PermitFileWriting [ ]
     9        /PermitFileWriting [ ]
    10         /PermitFileControl [ ]
    10        /PermitFileControl [ ]
    11       >> setuserparams
    11      >> setuserparams
    12 --- 2031,2037 ----
       
    13   {
       
    14     SAFETY /safe get not {
       
    15       <<
       
    16 !       /PermitFileReading [ (/usr/openwin/lib/*) (/usr/X11/lib/*) (/usr/share/ghostscript/*) ]
       
    17         /PermitFileWriting [ ]
       
    18         /PermitFileControl [ ]
       
    19       >> setuserparams