Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2016 07:07:01 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415766 - in head/sysutils/backuppc: . files
Message-ID:  <201605240707.u4O771Ev073157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue May 24 07:07:01 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)

Added:
  head/sysutils/backuppc/files/patch-lib_BackupPC_CGI_Browse.pm   (contents, props changed)
Modified:
  head/sysutils/backuppc/Makefile

Modified: head/sysutils/backuppc/Makefile
==============================================================================
--- head/sysutils/backuppc/Makefile	Tue May 24 06:27:03 2016	(r415765)
+++ head/sysutils/backuppc/Makefile	Tue May 24 07:07:01 2016	(r415766)
@@ -3,7 +3,7 @@
 
 PORTNAME=	backuppc
 PORTVERSION=	3.3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 DISTNAME=	BackupPC-${PORTVERSION}

Added: head/sysutils/backuppc/files/patch-lib_BackupPC_CGI_Browse.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/backuppc/files/patch-lib_BackupPC_CGI_Browse.pm	Tue May 24 07:07:01 2016	(r415766)
@@ -0,0 +1,11 @@
+--- lib/BackupPC/CGI/Browse.pm.orig	2016-05-14 07:28:52 UTC
++++ 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 > 0 ) {
+         $i = @Backups - 1;
+         $num = $Backups[$i]{num};
+     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605240707.u4O771Ev073157>