Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2016 14:32:13 +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: r411284 - in head/devel/p5-forks: . files
Message-ID:  <201603171432.u2HEWDDi039949@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Thu Mar 17 14:32:13 2016
New Revision: 411284
URL: https://svnweb.freebsd.org/changeset/ports/411284

Log:
  devel/p5-forks: remove version string warning
  
  See
    https://rt.cpan.org/Ticket/Display.html?id=102730
    and
    https://bugs.debian.org/780351
  
  PR:		208087
  Submitted by:	Vick Khera <vivek@khera.org>

Added:
  head/devel/p5-forks/files/
  head/devel/p5-forks/files/patch-lib_forks.pm   (contents, props changed)
Modified:
  head/devel/p5-forks/Makefile

Modified: head/devel/p5-forks/Makefile
==============================================================================
--- head/devel/p5-forks/Makefile	Thu Mar 17 13:18:21 2016	(r411283)
+++ head/devel/p5-forks/Makefile	Thu Mar 17 14:32:13 2016	(r411284)
@@ -3,7 +3,7 @@
 
 PORTNAME=	forks
 PORTVERSION=	0.36
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN/SOAP/RYBSKEJ
 PKGNAMEPREFIX=	p5-

Added: head/devel/p5-forks/files/patch-lib_forks.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-forks/files/patch-lib_forks.pm	Thu Mar 17 14:32:13 2016	(r411284)
@@ -0,0 +1,13 @@
+--- lib/forks.pm.orig	2014-06-27 02:47:00 UTC
++++ lib/forks.pm
+@@ -1567,8 +1567,8 @@ sub _server {
+     
+ # Localize Storable variables to allow CODE refs, if using Storable >= 2.05
+ 
+-    local $Storable::Deparse = 1 if $Storable::VERSION >= 2.05;
+-    local $Storable::Eval = 1 if $Storable::VERSION >= 2.05;
++    local $Storable::Deparse = 1 if eval { Storable->VERSION('2.05') };
++    local $Storable::Eval = 1 if eval { Storable->VERSION('2.05') };
+ 
+ # Initialize the number of polls
+ # While we're running in the main dispatch loop



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