From owner-svn-ports-head@FreeBSD.ORG Fri Apr 10 20:53:47 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 100DD692; Fri, 10 Apr 2015 20:53:47 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 EF22F38D; Fri, 10 Apr 2015 20:53:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3AKrkCD029455; Fri, 10 Apr 2015 20:53:46 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3AKrkQ4029450; Fri, 10 Apr 2015 20:53:46 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201504102053.t3AKrkQ4029450@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 10 Apr 2015 20:53:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383762 - in head/devel/p5-Module-Build: . files X-SVN-Group: ports-head 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.18-1 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: Fri, 10 Apr 2015 20:53:47 -0000 Author: mat Date: Fri Apr 10 20:53:45 2015 New Revision: 383762 URL: https://svnweb.freebsd.org/changeset/ports/383762 Log: Add a patch to make Module::Build builds more reproducibles. Obtained from: Jérémy Bobbio Sponsored by: Absolight Added: head/devel/p5-Module-Build/files/ head/devel/p5-Module-Build/files/patch-lib_Module_Build_Dumper.pm (contents, props changed) Modified: head/devel/p5-Module-Build/Makefile Modified: head/devel/p5-Module-Build/Makefile ============================================================================== --- head/devel/p5-Module-Build/Makefile Fri Apr 10 20:33:49 2015 (r383761) +++ head/devel/p5-Module-Build/Makefile Fri Apr 10 20:53:45 2015 (r383762) @@ -7,6 +7,7 @@ PORTNAME= Module-Build PORTVERSION= 0.4211 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- Added: head/devel/p5-Module-Build/files/patch-lib_Module_Build_Dumper.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Build/files/patch-lib_Module_Build_Dumper.pm Fri Apr 10 20:53:45 2015 (r383762) @@ -0,0 +1,16 @@ +Description: output data in a stable order + In order to make builds reproducible, we sort keys when dumping + data. +Author: Jérémy Bobbio + +--- lib/Module/Build/Dumper.pm ++++ lib/Module/Build/Dumper.pm +@@ -12,7 +12,7 @@ use Data::Dumper; + sub _data_dump { + my ($self, $data) = @_; + return ("do{ my " +- . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump() ++ . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Sortkeys(1)->Dump() + . '$x; }') + } +