diff options
author | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2011-07-30 17:43:31 +0200 |
---|---|---|
committer | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2011-07-30 17:43:31 +0200 |
commit | f67b7b7711a847bed69fcec066f3aa4d3b42427d (patch) | |
tree | b963fb4d7575425998c462521499262fc70305f5 /sci-biology/gbrowse/files | |
parent | sci-biology/gbrowse: fix typo in an ewarn() message (diff) | |
download | sci-f67b7b7711a847bed69fcec066f3aa4d3b42427d.tar.gz sci-f67b7b7711a847bed69fcec066f3aa4d3b42427d.tar.bz2 sci-f67b7b7711a847bed69fcec066f3aa4d3b42427d.zip |
sci-biology/gbrowse: add missing brackets cause a perl error while exporting a PNG image
(Portage version: 2.1.10.7/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-biology/gbrowse/files')
-rw-r--r-- | sci-biology/gbrowse/files/fix-PNG-export.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-biology/gbrowse/files/fix-PNG-export.patch b/sci-biology/gbrowse/files/fix-PNG-export.patch new file mode 100644 index 000000000..469f75202 --- /dev/null +++ b/sci-biology/gbrowse/files/fix-PNG-export.patch @@ -0,0 +1,11 @@ +--- lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm.ori 2011-07-30 17:14:28.000000000 +0200 ++++ lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm 2011-07-30 17:13:13.000000000 +0200 +@@ -30,7 +30,7 @@ + sub setting { + my $self = shift; + my ($label,$option,@rest) = @_ >= 2 ? @_ : ('general',@_); +- $label = 'general' if lc $label eq 'general'; # buglet ++ $label = 'general' if lc($label) eq 'general'; # buglet + $self->SUPER::setting($label,$option,@rest); + } + |