[Slackbuilds-users] shutter not working in 14.2: patch to fix it
unix_lists at f-m.fm
unix_lists at f-m.fm
Thu Aug 25 01:16:56 UTC 2016
On Wed, Aug 24, 2016, at 08:42 AM, Jim Diamond wrote:
> On Sun, Jul 17, 2016 at 13:15 (-0300), Jim Diamond wrote:
>
> > Hi,
>
> > when I try to run shutter in S64-14.2 I get
> > Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/bin/shutter line 3557.
>
> Perhaps everyone else has figured this out by now, but as much as I
> hate touching perl code, I found that the following changes seem to make
> perl happy. At least, so far it runs and I haven't seen a problem.
> Any perl gurus here may wish to improve my changes.
>
> $ diff /usr/bin/shutter /usr/bin/shutter.s-dist
> 3557c3557
> < if($n_items && defined $key && defined
> $session_screens{$key} && @{$session_screens{$key}->{'undo'}} && scalar
> @{$session_screens{$key}->{'undo'}} > 1){
> ---
> > if($n_items && defined $key && defined @{$session_screens{$key}->{'undo'}} && scalar @{$session_screens{$key}->{'undo'}} > 1){
> 3562,3563c3562,3563
> <
> < if($n_items && defined $key && defined
> $session_screens{$key} && $session_screens{$key}->{'redo'} && scalar
> @{$session_screens{$key}->{'redo'}} > 0){
> ---
> >
> > if($n_items && defined $key && defined @{$session_screens{$key}->{'redo'}} && scalar @{$session_screens{$key}->{'redo'}} > 0){
>
>
> Perhaps this patch could be incorporated into the slackbuild until a
> new version of shutter is available at SBo?
>
> Cheers.
>
> Jim
Hey Jim. I'll be submitting the latest stable version of shutter
available very soon.
--
Regards,
Donald Cooley
More information about the SlackBuilds-users
mailing list