Bug 209496 - sysutils/backuppc: fix fatal error with Perl-5.22
Summary: sysutils/backuppc: fix fatal error with Perl-5.22
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-14 08:02 UTC by Alexander Moisseev
Modified: 2016-05-24 07:07 UTC (History)
1 user (show)

See Also:
moiseev: maintainer-feedback+


Attachments
patch (1018 bytes, patch)
2016-05-14 08:02 UTC, Alexander Moisseev
moiseev: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Moisseev 2016-05-14 08:02:08 UTC
Created attachment 170271 [details]
patch

Using an array as a reference cause fatal error with Perl-5.22.

Using "defined(@array)" has been deprecated since v5.6.1, has raised deprecation warnings since v5.16 and, with Perl 5.22, is not tolerated any more.

http://search.cpan.org/dist/perl-5.22.0/pod/perldelta.pod#defined(@array)_and_defined(%hash)_are_now_fatal_errors
Comment 1 Kurt Jaeger freebsd_committer 2016-05-24 07:07:14 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2016-05-24 07:07:31 UTC
A commit references this bug:

Author: pi
Date: Tue May 24 07:07:01 UTC 2016
New revision: 415766
URL: https://svnweb.freebsd.org/changeset/ports/415766

Log:
  sysutils/backuppc: fix fatal error with perl-5.22

  - Using an array as a reference cause fatal error with Perl-5.22.

  PR:		209496
  Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru> (maintainer)

Changes:
  head/sysutils/backuppc/Makefile
  head/sysutils/backuppc/files/patch-lib_BackupPC_CGI_Browse.pm