Package: libossp-uuid-perl
Version: 1.5.1-1.1
Severity: normal
Tags: patch

libossp-uuid-perl is not fully compatible with Data::UUID.

when trying to build Data::GUID (`dh-make-perl --cpan Data::GUID; ...`),
a few tests break.
this is due to the fact that Data::GUID expects base64 encoded UUIDs
*not* to be followed by a newline, but the one of libossp-uuid-perl
appends one by use of MIME::Base64::encode_base64.

there is a simple way to fix this, since the latter function offers an
optinal argument.
thus the patch would be:

--- /usr/lib/perl5/Data/UUID.pm 2007-10-21 22:58:36.000000000 +0200
+++ UUID.pm     2008-05-08 18:52:45.000000000 +0200
@@ -84,7 +84,7 @@
 
 sub to_b64string {
     my ($self, $bin) = @_;
-    return MIME::Base64::encode_base64($bin);
+    return MIME::Base64::encode_base64($bin, '');
 }
 
 sub from_string {

if nothing else relies on the incompatibility, it would be nice if this
change could be applied.

thanks,
rj

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.20 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libossp-uuid-perl depends on:
ii  libc6                         2.7-4      GNU C Library: Shared libraries
ii  libossp-uuid15                1.5.1-1    OSSP uuid ISO-C and C++ - shared l
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]     5.8.8-12   The Pathologically Eclectic Rubbis

libossp-uuid-perl recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to