summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/openoffice-ximian/Manifest1
-rw-r--r--app-office/openoffice-ximian/files/1.1.1/fixscale.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-office/openoffice-ximian/Manifest b/app-office/openoffice-ximian/Manifest
index dde2d11b608a..3d6f3b9c5ef5 100644
--- a/app-office/openoffice-ximian/Manifest
+++ b/app-office/openoffice-ximian/Manifest
@@ -27,3 +27,4 @@ MD5 7499a81bad1959834a0e6f995200e3e8 files/1.1.1/openoffice-1.1.0-linux-2.6-fix.
MD5 7978a9c1f590a83622b8040ee83197a4 files/1.1.1/nptl.patch 1285
MD5 fc8711196de6324c9fae45342d159bf3 files/1.1.1/build.patch 330
MD5 ec45b66d175ad9662716a06e7c678cef files/1.1.1/newstlportfix.patch 10362
+MD5 6fd623d53d17e17f953232da5b04447f files/1.1.1/fixscale.patch 1035
diff --git a/app-office/openoffice-ximian/files/1.1.1/fixscale.patch b/app-office/openoffice-ximian/files/1.1.1/fixscale.patch
new file mode 100644
index 000000000000..ccb9d44176df
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.1/fixscale.patch
@@ -0,0 +1,29 @@
+--- bin/scale-icons 2004-05-06 11:01:08.980710904 +0200
++++ bin/scale-icons 2004-05-06 11:01:08.981710752 +0200
+@@ -171,22 +171,11 @@
+
+ print "Binning dupped icons\n";
+ -f "$OOO_PATH/extras/source/symbols/makefile.mk" || die "No dupped icon directory";
+-
+-my $SymbolsDir;
+-my $symbols_dir = "$OOO_PATH/extras/source/symbols";
+-my $symbols_backup = "$backupdir/extras/source/symbols";
+-
+-system ("mkdir -p $symbols_backup");
+-
+-opendir ($SymbolsDir, $symbols_dir) || die "No symbols: $!";
+-while (my $fname = readdir ($SymbolsDir)) {
+- $fname =~ m/\.bmp$/ || next;
+- if ($backupdir) {
+- system ("cp -a $symbols_dir/$fname $symbols_backup");
+- }
+- unlink "$symbols_dir/$fname" || die "Can't delete $symbols_dir/$fname: $!";
++if ($backupdir) {
++ system ("mkdir -p $backupdir/extras/source/symbols");
++ system ("cp -a $OOO_PATH/extras/source/symbols/*.bmp $backupdir/extras/source/symbols");
+ }
+-closedir($SymbolsDir);
++system ("rm -f $OOO_PATH/extras/source/symbols/*.bmp");
+
+ print "Completed cleanly.\n";
+ exit (0);