diff options
Diffstat (limited to 'app-office/openoffice-ximian/files/1.1.1/fixscale.patch')
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.1/fixscale.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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); |