Date: Thu, 13 Jul 2017 16:45:57 +0000 (UTC) From: Tom Judge <tj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445662 - head/devel/p5-Log-Dispatch-File-Rolling/files Message-ID: <201707131645.v6DGjvsB065428@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tj Date: Thu Jul 13 16:45:57 2017 New Revision: 445662 URL: https://svnweb.freebsd.org/changeset/ports/445662 Log: Fix for Log::Dispatch 2.59+ Added: head/devel/p5-Log-Dispatch-File-Rolling/files/ head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode (contents, props changed) Added: head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode Thu Jul 13 16:45:57 2017 (r445662) @@ -0,0 +1,12 @@ +--- 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 @@ + my $self = bless {}, $class; + + # only append mode is supported +- $p{mode} = 'append'; ++ $p{mode} = 'append'; # Specifies append for Log::Dispatch::File 2.37 through 2.58 ++ $self->{mode} = '>>'; # Specifies append for Log::Dispatch::File 2.59+ (no longer done by _basic_init) + + # base class initialization + $self->_basic_init(%p);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707131645.v6DGjvsB065428>