File xmlgraphics-batik-policy.patch of Package xmlgraphics-batik

diff -uNr batik-1.7-clean/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.bin.policy batik-1.7/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.bin.policy
--- batik-1.7-clean/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.bin.policy	2007-09-07 14:05:13.000000000 -0400
+++ batik-1.7/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.bin.policy	2007-09-12 13:36:24.000000000 -0400
@@ -30,6 +30,11 @@
   permission java.security.AllPermission;
 };
 
+//new stuff
+grant codeBase "${app.jar.base}/batik-all.jar" {
+  permission java.security.AllPermission;
+};
+
 grant codeBase "${app.jar.base}/lib/batik-ext.jar" {
   permission java.security.AllPermission;
 };
diff -uNr batik-1.7-clean/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.bin.policy batik-1.7/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.bin.policy
--- batik-1.7-clean/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.bin.policy	2007-09-07 14:05:13.000000000 -0400
+++ batik-1.7/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.bin.policy	2007-09-12 13:36:49.000000000 -0400
@@ -34,6 +34,10 @@
   permission java.security.AllPermission;
 };
 
+grant codeBase "${app.jar.base}/batik-all.jar" {
+  permission java.security.AllPermission;
+};
+
 grant codeBase "${app.jar.base}/lib/batik-ext.jar" {
   permission java.security.AllPermission;
 };
@@ -104,4 +108,3 @@
 grant {
   permission java.io.FilePermission "lib/batik-svg-dom.jar", "read";
 };
-
openSUSE Build Service is sponsored by