This is an automated email from the git hooks/post-receive script. nickm-guest pushed a commit to branch master in repository libmodule-compile-perl.
commit ce8dadb3e0b2cea01e7ae624d60dd0b1052ec54b Author: Nick Morrott <knowledgejun...@gmail.com> Date: Mon Jun 20 17:15:30 2016 +0100 Add 01-replace-digest-sha1-with-digest-sha.patch --- .../01-replace-digest-sha1-with-digest-sha.patch | 30 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) diff --git a/debian/patches/01-replace-digest-sha1-with-digest-sha.patch b/debian/patches/01-replace-digest-sha1-with-digest-sha.patch new file mode 100644 index 0000000..b765d25 --- /dev/null +++ b/debian/patches/01-replace-digest-sha1-with-digest-sha.patch @@ -0,0 +1,30 @@ +Description: Replace usage of Digest::SHA1 with core Digest::SHA module + In Debian we use the core Digest::SHA module that was released with Perl 5.9.3. + Upstream keeps compatibility with Perl 5.8.1 so this patch is not forwarded. +Author: Nick Morrott <knowledgejun...@gmail.com> +Forwarded: no +Last-Update: 2016-06-21 +--- +--- a/lib/Module/Compile.pm ++++ b/lib/Module/Compile.pm +@@ -7,7 +7,7 @@ + package Module::Compile; + our $VERSION = '0.35'; + +-use Digest::SHA1(); ++use Digest::SHA(); + + # A lexical hash to keep track of which files have already been filtered + my $filtered = {}; +@@ -553,9 +553,9 @@ + + # Fold a piece of code into a unique string. + sub pmc_fold { +- require Digest::SHA1; ++ require Digest::SHA; + my ($class, $text) = @_; +- my $digest = Digest::SHA1::sha1_hex($text); ++ my $digest = Digest::SHA::sha1_hex($text); + $digest_map->{$digest} = $text; + return $digest; + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f9e184d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-replace-digest-sha1-with-digest-sha.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-compile-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits