Date: Thu, 9 Nov 2017 20:34:16 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453867 - in head/devel/p5-Log-Dispatch-File-Rolling: . files Message-ID: <201711092034.vA9KYGgG075979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Thu Nov 9 20:34:16 2017 New Revision: 453867 URL: https://svnweb.freebsd.org/changeset/ports/453867 Log: devel/p5-Log-Dispatch-File-Rolling: Fix compatibility with Log-Dispatch 2.67 MFH: 2017Q4 Added: head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm - copied, changed from r453866, head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode Deleted: head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode Modified: head/devel/p5-Log-Dispatch-File-Rolling/Makefile Modified: head/devel/p5-Log-Dispatch-File-Rolling/Makefile ============================================================================== --- head/devel/p5-Log-Dispatch-File-Rolling/Makefile Thu Nov 9 20:17:22 2017 (r453866) +++ head/devel/p5-Log-Dispatch-File-Rolling/Makefile Thu Nov 9 20:34:16 2017 (r453867) @@ -2,7 +2,7 @@ PORTNAME= Log-Dispatch-File-Rolling PORTVERSION= 1.09 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -12,9 +12,9 @@ COMMENT= Object for logging to date/time/pid stamped f LICENSE= ART20 -BUILD_DEPENDS= p5-Log-Dispatch>=2.37:devel/p5-Log-Dispatch \ +BUILD_DEPENDS= p5-Log-Dispatch>=2.67:devel/p5-Log-Dispatch \ p5-Log-Log4perl>=1.38:devel/p5-Log-Log4perl -RUN_DEPENDS= p5-Log-Dispatch>=2.37:devel/p5-Log-Dispatch \ +RUN_DEPENDS= p5-Log-Dispatch>=2.67:devel/p5-Log-Dispatch \ p5-Log-Log4perl>=1.38:devel/p5-Log-Log4perl USES= dos2unix perl5 Copied and modified: head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm (from r453866, head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode) ============================================================================== --- head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode Thu Nov 9 20:17:22 2017 (r453866, copy source) +++ head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm Thu Nov 9 20:34:16 2017 (r453867) @@ -1,6 +1,6 @@ ---- lib/Log/Dispatch/File/Rolling.pm 2014-01-27 05:37:14.000000000 -0500 -+++ lib/Log/Dispatch/File/Rolling.pm 2017-06-16 15:18:22.956608000 -0400 -@@ -39,7 +39,8 @@ +--- lib/Log/Dispatch/File/Rolling.pm.orig 2017-11-09 20:22:14 UTC ++++ lib/Log/Dispatch/File/Rolling.pm +@@ -39,7 +39,8 @@ sub new { my $self = bless {}, $class; # only append mode is supported @@ -10,3 +10,15 @@ # base class initialization $self->_basic_init(%p); +@@ -63,7 +64,10 @@ sub new { + } + + $self->{rolling_fh_pid} = $$; +- $self->_make_handle(); ++ # _make_handle() was removed in Log::Dispatch::File 2.67 ++ # $self->_make_handle(); ++ $self->_open_file() ++ unless $self->{close_after_write} || $self->{lazy_open}; + + return $self; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711092034.vA9KYGgG075979>