signor_rossi wrote: > Have you seen this > http://forums.slimdevices.com/showthread.php?95408-perl-7-16&p=707226&viewfull=1#post707226 > thread, post #5? Adapted by the Arch Linux package mantainer in a patch > like this: > > Code: -------------------- > > > diff -Naur old/Slim/Control/Request.pm new/Slim/Control/Request.pm > --- old/Slim/Control/Request.pm 2012-03-14 23:28:25.000000000 +1100 > +++ new/Slim/Control/Request.pm 2012-06-27 07:17:57.325049118 +1000 > @@ -1531,7 +1531,8 @@ > > # get a parameter by name > sub getParam { > - return $_[0]->{'_params'}->{ $_[1] }; > + my $r = $_[0]->{'_params'}->{ $_[1] }; > + return ($r ne '') ? $r : undef; > } > -------------------- > > How do you apply this patch?
------------------------------------------------------------------------ jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223 View this thread: http://forums.slimdevices.com/showthread.php?t=96492 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
