diff options
author | Edinaldo P. Silva <edps@mundognu@gmail.com> | 2017-03-14 02:00:03 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:31 +0700 |
commit | 7c68076d28dc9f778806367335fa0523dd613e26 (patch) | |
tree | 3cba9666c801023bdb00da4f740431fd0263be1c /audio/gmusicbrowser/superfluous-my | |
parent | 959b408d398750e032013fe8927c88a98d8bc4bb (diff) | |
download | slackbuilds-7c68076d28dc9f778806367335fa0523dd613e26.tar.gz |
audio/gmusicbrowser: Updated for version 1.1.15 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/gmusicbrowser/superfluous-my')
-rw-r--r-- | audio/gmusicbrowser/superfluous-my | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/gmusicbrowser/superfluous-my b/audio/gmusicbrowser/superfluous-my new file mode 100644 index 0000000000..4b8e2de04e --- /dev/null +++ b/audio/gmusicbrowser/superfluous-my @@ -0,0 +1,36 @@ +From 853840eb9dad0b59ad2dac5d303f5929b2f09f21 Mon Sep 17 00:00:00 2001 +From: Octavio Ruiz <tacvbo@tacvbo.net> +Date: Mon, 30 May 2016 19:18:44 +0200 +Subject: [PATCH] remove 2 superfluous "my", fix error with perl 5.24 + +--- + gmusicbrowser.pl | 2 +- + gmusicbrowser_list.pm | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gmusicbrowser.pl b/gmusicbrowser.pl +index bbf16d7..18fab6a 100755 +--- a/gmusicbrowser.pl ++++ b/gmusicbrowser.pl +@@ -9020,7 +9020,7 @@ sub Set + + ($cmd,my $pattern)= split /:/,$cmd,2; + $pattern='' unless defined $pattern; +- my ($basecmd,my $prop)= Songs::filter_properties($field,"$cmd:$pattern"); ++ my ($basecmd, $prop)= Songs::filter_properties($field,"$cmd:$pattern"); + if (!$prop) + { $cmd= Songs::Field_property($field,'default_filter'); + ($basecmd,$prop)= Songs::filter_properties($field,$cmd); +diff --git a/gmusicbrowser_list.pm b/gmusicbrowser_list.pm +index 76d2f86..26d21ae 100644 +--- a/gmusicbrowser_list.pm ++++ b/gmusicbrowser_list.pm +@@ -8052,7 +8052,7 @@ sub Make + unless ($notnow) + { #warn "$key ---found in ($code,@deps)\n"; + if (ref $code) +- { my ($func,my @keys)=@$code; #warn " -> ($func, @keys)\n"; ++ { my ($func, @keys)=@$code; #warn " -> ($func, @keys)\n"; + my $out=join ',',map "'$_'", @keys; + my $in= join ',',map "'$_'", @deps; $in=~s#\?##g; + $out= @keys>1 ? "\@var{$out}" : "\$var{$out}"; |