svn commit: r415766 - in head/sysutils/backuppc: . files

Kurt Jaeger pi at FreeBSD.org
Tue May 24 07:07:02 UTC 2016


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 at 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};
+     }


More information about the svn-ports-head mailing list