Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2026 16:00:23 +0000
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 11a15180c720 - main - devel/p5-Log-Dispatch-File-Rolling: patch for perl 5.40
Message-ID:  <69e10797.21e70.5d9dff4b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11a15180c72047ce785b0a219cc394b8b5df065e

commit 11a15180c72047ce785b0a219cc394b8b5df065e
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2026-04-16 15:57:21 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2026-04-16 16:00:20 +0000

    devel/p5-Log-Dispatch-File-Rolling: patch for perl 5.40
    
    The attached patch fixes this message:
    
    Attempt to call undefined import method with arguments ("2.37")
    via package "Log::Dispatch::File" (Perhaps you forgot to load the
    package?) at /usr/local/lib/perl5/site_perl/Log/Dispatch/File/Rolling.pm line 8.
    
    PR:             288790
    Approved by:    maintainer timeout (8 months)
---
 devel/p5-Log-Dispatch-File-Rolling/Makefile                   |  2 +-
 .../files/patch-lib_Log_Dispatch_File_Rolling.pm              | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/devel/p5-Log-Dispatch-File-Rolling/Makefile b/devel/p5-Log-Dispatch-File-Rolling/Makefile
index 195794d4cff3..8743c86c865f 100644
--- a/devel/p5-Log-Dispatch-File-Rolling/Makefile
+++ b/devel/p5-Log-Dispatch-File-Rolling/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Log-Dispatch-File-Rolling
 PORTVERSION=	1.09
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
diff --git a/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm b/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm
index 9fbad260295f..be7e6fe4b818 100644
--- a/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm
+++ b/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm
@@ -1,5 +1,14 @@
---- lib/Log/Dispatch/File/Rolling.pm.orig	2017-11-09 20:22:14 UTC
+--- lib/Log/Dispatch/File/Rolling.pm.orig	2025-08-11 13:17:33 UTC
 +++ lib/Log/Dispatch/File/Rolling.pm
+@@ -5,7 +5,7 @@ use warnings;
+ use strict;
+ use warnings;
+ 
+-use Log::Dispatch::File '2.37';
++use Log::Dispatch::File 2.37;
+ use Log::Log4perl::DateFormat;
+ use Fcntl ':flock'; # import LOCK_* constants
+ 
 @@ -39,7 +39,8 @@ sub new {
  	my $self = bless {}, $class;
  


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e10797.21e70.5d9dff4b>