components/ghostscript/patches/05-5045800.patch
changeset 178 4340c0d63702
child 345 61b29cf8b717
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ghostscript/patches/05-5045800.patch	Mon Apr 11 23:52:19 2011 -0700
@@ -0,0 +1,19 @@
+*** ghostscript-8.64/Resource/Init/gs_init.ps.orig	Thu Jan  8 01:17:18 2009
+--- ghostscript-8.64/Resource/Init/gs_init.ps	Tue Sep  1 15:20:59 2009
+***************
+*** 2031,2037 ****
+  {
+    SAFETY /safe get not {
+      <<
+!       /PermitFileReading [ ]
+        /PermitFileWriting [ ]
+        /PermitFileControl [ ]
+      >> setuserparams
+--- 2031,2037 ----
+  {
+    SAFETY /safe get not {
+      <<
+!       /PermitFileReading [ (/usr/openwin/lib/*) (/usr/X11/lib/*) (/usr/share/ghostscript/*) ]
+        /PermitFileWriting [ ]
+        /PermitFileControl [ ]
+      >> setuserparams