r15599 - in /trunk/libnet-daap-dmap-perl/debian: changelog control patches/ patches/pack_unpack_bytes.patch patches/series rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Feb 25 17:59:30 UTC 2008


Author: gregoa-guest
Date: Mon Feb 25 17:59:30 2008
New Revision: 15599

URL: http://svn.debian.org/wsvn/?sc=1&rev=15599
Log:
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.

Added:
    trunk/libnet-daap-dmap-perl/debian/patches/
    trunk/libnet-daap-dmap-perl/debian/patches/pack_unpack_bytes.patch
    trunk/libnet-daap-dmap-perl/debian/patches/series
Modified:
    trunk/libnet-daap-dmap-perl/debian/changelog
    trunk/libnet-daap-dmap-perl/debian/control
    trunk/libnet-daap-dmap-perl/debian/rules

Modified: trunk/libnet-daap-dmap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-daap-dmap-perl/debian/changelog?rev=15599&op=diff
==============================================================================
--- trunk/libnet-daap-dmap-perl/debian/changelog (original)
+++ trunk/libnet-daap-dmap-perl/debian/changelog Mon Feb 25 17:59:30 2008
@@ -7,8 +7,11 @@
 
   [ gregor herrmann ]
   * debian/rules: delete /usr/lib/perl5 only if it exists.
+  * 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.
 
- -- Damyan Ivanov <dmn at debian.org>  Fri, 07 Dec 2007 13:51:52 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 25 Feb 2008 18:54:21 +0100
 
 libnet-daap-dmap-perl (1.26-1) unstable; urgency=low
 

Modified: trunk/libnet-daap-dmap-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnet-daap-dmap-perl/debian/control?rev=15599&op=diff
==============================================================================
--- trunk/libnet-daap-dmap-perl/debian/control (original)
+++ trunk/libnet-daap-dmap-perl/debian/control Mon Feb 25 17:59:30 2008
@@ -2,8 +2,8 @@
 Section: perl
 Priority: extra
 Maintainer: Jose Luis Rivas <ghostbar38 at gmail.com>
+Build-Depends: cdbs, debhelper (>= 5), quilt
 Build-Depends-Indep: perl, libmath-bigint-perl
-Build-Depends: cdbs, debhelper (>= 5)
 Standards-Version: 3.7.2
 Homepage: http://search.cpan.org/dist/Net-DAAP-DMAP/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-daap-dmap-perl/

Added: trunk/libnet-daap-dmap-perl/debian/patches/pack_unpack_bytes.patch
URL: http://svn.debian.org/wsvn/trunk/libnet-daap-dmap-perl/debian/patches/pack_unpack_bytes.patch?rev=15599&op=file
==============================================================================
--- trunk/libnet-daap-dmap-perl/debian/patches/pack_unpack_bytes.patch (added)
+++ trunk/libnet-daap-dmap-perl/debian/patches/pack_unpack_bytes.patch Mon Feb 25 17:59:30 2008
@@ -1,0 +1,17 @@
+pack() and unpack() have changed in perl 5.10 regarding UTF-8 encoded data:
+http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod#Packing_and_UTF-8_strings
+We add "use bytes;" to get the old behaviour.
+
+Closes: #467277
+
+-- gregor herrmann
+--- libnet-daap-dmap-perl.orig/lib/Net/DAAP/DMAP.pm
++++ libnet-daap-dmap-perl/lib/Net/DAAP/DMAP.pm
+@@ -170,6 +170,7 @@
+ use Exporter;
+ use Math::BigInt;
+ use Carp;
++use bytes; # un-/pack() changed in perl 5.10
+ 
+ our @ISA = qw(Exporter);
+ our @EXPORT_OK = qw(dmap_to_hash_ref dmap_to_array_ref update_content_codes

Added: trunk/libnet-daap-dmap-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libnet-daap-dmap-perl/debian/patches/series?rev=15599&op=file
==============================================================================
--- trunk/libnet-daap-dmap-perl/debian/patches/series (added)
+++ trunk/libnet-daap-dmap-perl/debian/patches/series Mon Feb 25 17:59:30 2008
@@ -1,0 +1,1 @@
+pack_unpack_bytes.patch

Modified: trunk/libnet-daap-dmap-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-daap-dmap-perl/debian/rules?rev=15599&op=diff
==============================================================================
--- trunk/libnet-daap-dmap-perl/debian/rules (original)
+++ trunk/libnet-daap-dmap-perl/debian/rules Mon Feb 25 17:59:30 2008
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
-  
+
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/perlmodule.mk
 
 install/libnet-daap-dmap-perl::




More information about the Pkg-perl-cvs-commits mailing list