Ticket #50310: p5-musicbrainz-discid.diff

File p5-musicbrainz-discid.diff, 2.2 KB (added by mojca (Mojca Miklavec), 9 years ago)

A patch for patching p5-musicbrainz-discid

  • Portfile

     
    1717checksums           rmd160  06ddcdf08dc27bc8860541aca121f86e39cfcded \
    1818                    sha256  5002f92fd8f074bccf924752ef171fa11ea2431a634ff60e520a5c3fb080573a
    1919
    20 patch.pre_args      -p1
    2120patchfiles          pod-encoding.patch \
    2221                    stack-corruption-discid_put.patch \
    2322                    url.patch
  • files/pod-encoding.patch

     
    66Author: gregor herrmann <gregoa@debian.org>
    77Last-Update: 2013-05-13
    88
    9 --- a/lib/MusicBrainz/DiscID.pm
    10 +++ b/lib/MusicBrainz/DiscID.pm
     9--- lib/MusicBrainz/DiscID.pm.orig
     10+++ lib/MusicBrainz/DiscID.pm
    1111@@ -156,7 +156,7 @@
    1212 Construct a new DiscID object.
    1313 
  • files/stack-corruption-discid_put.patch

     
    1515Bug-Debian: https://bugs.debian.org/758216
    1616Bug: https://rt.cpan.org/Ticket/Display.html?id=98179
    1717
    18 --- a/lib/MusicBrainz/DiscID.xs
    19 +++ b/lib/MusicBrainz/DiscID.xs
     18--- lib/MusicBrainz/DiscID.xs.orig
     19+++ lib/MusicBrainz/DiscID.xs
    2020@@ -124,12 +124,13 @@ discid_put( disc, first_track, sectors,
    2121   DiscId *disc
    2222   int first_track
     
    3434         offsets[i-2] = (int)SvIV(ST(i));
    3535     }
    3636     offsets[0] = sectors;
    37 --- a/t/10discid.t
    38 +++ b/t/10discid.t
     37--- t/10discid.t.orig
     38+++ t/10discid.t
    3939@@ -5,7 +5,7 @@ use strict;
    4040 use Test::More;
    4141 
  • files/url.patch

     
    88Reviewed-by: gregor herrmann <gregoa@debian.org>
    99Last-Update: 2013-11-26
    1010
    11 --- a/t/10discid.t
    12 +++ b/t/10discid.t
    13 @@ -28,8 +28,8 @@
     11--- t/10discid.t.orig
     12+++ t/10discid.t
     13@@ -31,8 +31,8 @@
    1414 is( $disc->freedb_id, '370fce16');
    1515 is( $disc->last_track_num, 22);
    1616 is( $disc->sectors, 303602);