summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/openoffice/files/2.0.4/gentoo-2.0.4.diff')
-rw-r--r--app-office/openoffice/files/2.0.4/gentoo-2.0.4.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-office/openoffice/files/2.0.4/gentoo-2.0.4.diff b/app-office/openoffice/files/2.0.4/gentoo-2.0.4.diff
new file mode 100644
index 000000000000..95ef0738d19c
--- /dev/null
+++ b/app-office/openoffice/files/2.0.4/gentoo-2.0.4.diff
@@ -0,0 +1,33 @@
+--- bin/package-ooo
++++ bin/package-ooo
+@@ -57,6 +57,7 @@
+ #!/bin/sh
+ export OOO_EXTRA_ARG='$2'
++unset PYTHONPATH
+ $OOINSTBASE/program/ooqstart $3 "\$@"
+ EOT
+ chmod 755 $1
+ }
+--- bin/ooo-wrapper.in
++++ bin/ooo-wrapper.in
+@@ -92,6 +89,9 @@
+ print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n";
+ }
+
++# Clear PYTHONPATH, otherwise Python scripting does not work
++delete $ENV{'PYTHONPATH'};
++
+ # And here we go.
+ exec "$SystemInstallDir/program/$Binary", @ooo_argv
+
+--- patches/src680/apply
++++ patches/src680/apply
+@@ -214,7 +214,7 @@
+ [ Fixes ]
+ # backport revision 1.31.61.1 from cws impress107 to fix crash on
+ # the impress wizard
+-sd-slideshowimpl-check-for-viewframe.diff, i#69530
++#sd-slideshowimpl-check-for-viewframe.diff, i#69530
+
+ # let sd accept uri-list drop, n#183719
+ sd-accept-uri-list-drop.diff, n#183719, rodo