diff options
author | tnn <tnn@pkgsrc.org> | 2016-02-28 03:44:05 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2016-02-28 03:44:05 +0000 |
commit | 3e84cf9d8d3ec0e826e85946c4ee1d058eaeafb4 (patch) | |
tree | f5069f742e5f5e05e62e93677e6e1c1c08f0f2ae /sysutils/backuppc | |
parent | f1cb20cfd7a5ae0e59d37e85e2579f7d944af012 (diff) | |
download | pkgsrc-3e84cf9d8d3ec0e826e85946c4ee1d058eaeafb4.tar.gz |
fix perl syntax error: defined(@array) is deprecated
Diffstat (limited to 'sysutils/backuppc')
-rw-r--r-- | sysutils/backuppc/Makefile | 4 | ||||
-rw-r--r-- | sysutils/backuppc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/backuppc/patches/patch-lib_BackupPC_CGI_Browse.pm | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile index 12a92f3ed21..b6d1e278a3c 100644 --- a/sysutils/backuppc/Makefile +++ b/sysutils/backuppc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2016/02/27 21:25:01 tnn Exp $ +# $NetBSD: Makefile,v 1.5 2016/02/28 03:44:05 tnn Exp $ DISTNAME= BackupPC-3.3.1 PKGNAME= ${DISTNAME:tl} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=backuppc/} diff --git a/sysutils/backuppc/distinfo b/sysutils/backuppc/distinfo index c2aa3e35248..ffed52ad815 100644 --- a/sysutils/backuppc/distinfo +++ b/sysutils/backuppc/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 01:32:06 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/02/28 03:44:05 tnn Exp $ SHA1 (BackupPC-3.3.1.tar.gz) = b579d64ff2486395e8ca0a93ac964bd9d9e1a232 RMD160 (BackupPC-3.3.1.tar.gz) = 3db4d6a54c9cde61fa434292b53f18ded73dbb83 SHA512 (BackupPC-3.3.1.tar.gz) = b6bb9de3103c5062098d80755055b7461ae9133a4a46a66b3d0af89d081086571694db1898e7d85880defa15b030bad522812116ae5361c0fbde90b877d139c6 Size (BackupPC-3.3.1.tar.gz) = 556461 bytes SHA1 (patch-configure.pl) = 4935ca9916b52918869adaac063768713c7e055b +SHA1 (patch-lib_BackupPC_CGI_Browse.pm) = 8c6823712b9853ba424f23b871ccbd2b6124b6a3 diff --git a/sysutils/backuppc/patches/patch-lib_BackupPC_CGI_Browse.pm b/sysutils/backuppc/patches/patch-lib_BackupPC_CGI_Browse.pm new file mode 100644 index 00000000000..4faa11d182e --- /dev/null +++ b/sysutils/backuppc/patches/patch-lib_BackupPC_CGI_Browse.pm @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_BackupPC_CGI_Browse.pm,v 1.1 2016/02/28 03:44:05 tnn Exp $ + +defined(@array) is deprecated + +--- lib/BackupPC/CGI/Browse.pm.orig 2015-01-12 00:19:53.000000000 +0000 ++++ lib/BackupPC/CGI/Browse.pm +@@ -65,7 +65,7 @@ sub action + # + # default to the newest backup + # +- if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { ++ if ( !defined($In{num}) && @Backups && @Backups > 0 ) { + $i = @Backups - 1; + $num = $Backups[$i]{num}; + } |