Add patch pack_unpack_bytes.patch; the behaviour of pack() and unpack()
regarding UTF-8 characters has changed in Perl 5.10, by adding "use
bytes" we get the old behaviour (closes: #467277). Add quilt framework.
Gregor Herrmann
16 years ago
6 | 6 |
|
7 | 7 |
[ gregor herrmann ]
|
8 | 8 |
* debian/rules: delete /usr/lib/perl5 only if it exists.
|
|
9 |
* Add patch pack_unpack_bytes.patch; the behaviour of pack() and unpack()
|
|
10 |
regarding UTF-8 characters has changed in Perl 5.10, by adding "use
|
|
11 |
bytes" we get the old behaviour (closes: #467277). Add quilt framework.
|
9 | 12 |
|
10 | |
-- Damyan Ivanov <dmn@debian.org> Fri, 07 Dec 2007 13:51:52 +0200
|
|
13 |
-- gregor herrmann <gregor+debian@comodo.priv.at> Mon, 25 Feb 2008 18:54:21 +0100
|
11 | 14 |
|
12 | 15 |
libnet-daap-dmap-perl (1.26-1) unstable; urgency=low
|
13 | 16 |
|
1 | 1 |
Section: perl
|
2 | 2 |
Priority: extra
|
3 | 3 |
Maintainer: Jose Luis Rivas <ghostbar38@gmail.com>
|
|
4 |
Build-Depends: cdbs, debhelper (>= 5), quilt
|
4 | 5 |
Build-Depends-Indep: perl, libmath-bigint-perl
|
5 | |
Build-Depends: cdbs, debhelper (>= 5)
|
6 | 6 |
Standards-Version: 3.7.2
|
7 | 7 |
Homepage: http://search.cpan.org/dist/Net-DAAP-DMAP/
|
8 | 8 |
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-daap-dmap-perl/
|
|
0 |
pack() and unpack() have changed in perl 5.10 regarding UTF-8 encoded data:
|
|
1 |
http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod#Packing_and_UTF-8_strings
|
|
2 |
We add "use bytes;" to get the old behaviour.
|
|
3 |
|
|
4 |
Closes: #467277
|
|
5 |
|
|
6 |
-- gregor herrmann
|
|
7 |
--- libnet-daap-dmap-perl.orig/lib/Net/DAAP/DMAP.pm
|
|
8 |
+++ libnet-daap-dmap-perl/lib/Net/DAAP/DMAP.pm
|
|
9 |
@@ -170,6 +170,7 @@
|
|
10 |
use Exporter;
|
|
11 |
use Math::BigInt;
|
|
12 |
use Carp;
|
|
13 |
+use bytes; # un-/pack() changed in perl 5.10
|
|
14 |
|
|
15 |
our @ISA = qw(Exporter);
|
|
16 |
our @EXPORT_OK = qw(dmap_to_hash_ref dmap_to_array_ref update_content_codes
|
|
0 |
pack_unpack_bytes.patch
|
0 | 0 |
#!/usr/bin/make -f
|
1 | |
|
|
1 |
|
2 | 2 |
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
3 |
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
3 | 4 |
include /usr/share/cdbs/1/class/perlmodule.mk
|
4 | 5 |
|
5 | 6 |
install/libnet-daap-dmap-perl::
|