From owner-svn-ports-head@freebsd.org Thu Nov 9 20:34:17 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0728E5BB6B; Thu, 9 Nov 2017 20:34:17 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95F5E77CA4; Thu, 9 Nov 2017 20:34:17 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA9KYGHT075981; Thu, 9 Nov 2017 20:34:16 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA9KYGgG075979; Thu, 9 Nov 2017 20:34:16 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201711092034.vA9KYGgG075979@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 9 Nov 2017 20:34:16 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/devel/p5-Log-Dispatch-File-Rolling: . files X-SVN-Commit-Revision: 453867 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:34:18 -0000 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; + }