Package: libcupt-perl
Version: 1.3.0
Severity: important
Tags: patch

Hi,

unfortunately, cupt source $pkg was broken by commit 5aa189408a. Please
find attached a patch to fix this. (Please keep in mind Perl is not my
mother tongue, there might be better ways to fix that.)

Mraw,
KiBi.
>From 045dedbcfb138c8033a269be1b4f0d90993d376e Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <k...@debian.org>
Date: Fri, 20 Nov 2009 04:48:20 +0100
Subject: [PATCH] cache: add back Digest module itself to 'use'

Since Digest->new($hash_type) is still used, it's needed to use Digest
as well, using Digest::* only isn't sufficient.

Fixes regression introduced in:
  5aa189408aef229a31e285f53d8044825bfa6832
---
 Cupt/Cache.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Cupt/Cache.pm b/Cupt/Cache.pm
index 80e440f..a8ef8d1 100644
--- a/Cupt/Cache.pm
+++ b/Cupt/Cache.pm
@@ -30,6 +30,7 @@ use 5.10.0;
 use strict;
 use warnings;
 
+use Digest;
 use Digest::MD5;
 use Digest::SHA;
 use Fcntl qw(:seek :DEFAULT);
-- 
1.6.5.2

Reply via email to