Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 15:04:29 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426829 - in head/mail/p5-Mail-Alias: . files
Message-ID:  <201611221504.uAMF4Ttw094382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Nov 22 15:04:29 2016
New Revision: 426829
URL: https://svnweb.freebsd.org/changeset/ports/426829

Log:
  Fix with Perl 5.22+
  
  Using defined(@array) was deprecated in 1999 for Perl 5.6, and removed
  in 2014 for 5.22.
  
  PR:		214617
  Reported by:	takeda takeda tk
  Sponsored by:	Absolight

Added:
  head/mail/p5-Mail-Alias/files/
  head/mail/p5-Mail-Alias/files/patch-Alias.pm   (contents, props changed)
Modified:
  head/mail/p5-Mail-Alias/Makefile   (contents, props changed)

Modified: head/mail/p5-Mail-Alias/Makefile
==============================================================================
--- head/mail/p5-Mail-Alias/Makefile	Tue Nov 22 14:41:53 2016	(r426828)
+++ head/mail/p5-Mail-Alias/Makefile	Tue Nov 22 15:04:29 2016	(r426829)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Mail-Alias
 PORTVERSION=	1.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-

Added: head/mail/p5-Mail-Alias/files/patch-Alias.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/p5-Mail-Alias/files/patch-Alias.pm	Tue Nov 22 15:04:29 2016	(r426829)
@@ -0,0 +1,11 @@
+--- Alias.pm.orig	2016-11-22 14:55:19 UTC
++++ Alias.pm
+@@ -82,7 +82,7 @@ sub format {
+  my $pkg = "Mail::Alias::" . $fmt;
+ 
+  croak "Unknown format '$fmt'"
+-  unless defined @{$pkg . "::ISA"};
++  unless @{$pkg . "::ISA"};
+ 
+  bless $me, $pkg;
+ }



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