svn commit: r411284 - in head/devel/p5-forks: . files

Kurt Jaeger pi at FreeBSD.org
Thu Mar 17 14:32:14 UTC 2016


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 at 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


More information about the svn-ports-head mailing list