diff -Nru libcoro-perl-6.511/debian/changelog libcoro-perl-6.511/debian/changelog --- libcoro-perl-6.511/debian/changelog 2016-09-25 21:17:12.000000000 +0000 +++ libcoro-perl-6.511/debian/changelog 2017-06-19 18:42:25.000000000 +0000 @@ -1,3 +1,13 @@ +libcoro-perl (6.511-2) unstable; urgency=medium + + * Add patch from CPAN RT to adjust for perl 5.26. + Thanks to Petr Písař . (Closes: #865019) + * Drop unneded version constraints in debian/control where even + oldoldstable has newer versions. + * Declare compliance with Debian Policy 4.0.0. + + -- gregor herrmann Mon, 19 Jun 2017 20:42:25 +0200 + libcoro-perl (6.511-1) unstable; urgency=medium * New upstream release. diff -Nru libcoro-perl-6.511/debian/control libcoro-perl-6.511/debian/control --- libcoro-perl-6.511/debian/control 2016-09-25 21:17:12.000000000 +0000 +++ libcoro-perl-6.511/debian/control 2017-06-19 18:42:25.000000000 +0000 @@ -15,7 +15,7 @@ libevent-perl, libguard-perl, perl -Standards-Version: 3.9.8 +Standards-Version: 4.0.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcoro-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libcoro-perl.git Homepage: https://metacpan.org/release/Coro @@ -28,10 +28,9 @@ libanyevent-perl, libcommon-sense-perl, libguard-perl -Recommends: libanyevent-perl (>= 7), - libev-perl, +Recommends: libev-perl, libevent-perl, - libio-aio-perl (>= 3.1), + libio-aio-perl, libnet-http-perl Description: Perl framework implementing coroutines Coro is a collection of modules which manages continuations in general, most diff -Nru libcoro-perl-6.511/debian/patches/coro-5.24.patch libcoro-perl-6.511/debian/patches/coro-5.24.patch --- libcoro-perl-6.511/debian/patches/coro-5.24.patch 2016-09-25 21:17:12.000000000 +0000 +++ libcoro-perl-6.511/debian/patches/coro-5.24.patch 2017-06-19 18:42:25.000000000 +0000 @@ -2,8 +2,9 @@ Origin: https://paste.debian.net/688072 Bug-Debian: https://bugs.debian.org/838851 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=114708 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114708 Author: Anonymous -Last-Update: 2016-09-25 +Last-Update: 2016-09-26 --- a/Coro/State.xs +++ b/Coro/State.xs diff -Nru libcoro-perl-6.511/debian/patches/coro-5.26.patch libcoro-perl-6.511/debian/patches/coro-5.26.patch --- libcoro-perl-6.511/debian/patches/coro-5.26.patch 1970-01-01 00:00:00.000000000 +0000 +++ libcoro-perl-6.511/debian/patches/coro-5.26.patch 2017-06-19 18:42:25.000000000 +0000 @@ -0,0 +1,64 @@ +From b48bc3a8141e5f27ce48b6f3ebbe2ba6ee7bda94 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 23 May 2017 15:12:06 +0200 +Subject: [PATCH] Adjust comppad_name_ variable sizes to Perl 5.26.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Perl 5.26.0 changed some variable types in this commit: + +commit d12be05dd0210a08e077f0cc9586a5a963122547 +Author: David Mitchell +Date: Mon Sep 26 15:56:08 2016 +0100 + + make PL_ pad vars be of type PADOFFSET + + Now that that PADOFFSET is signed, make + + PL_comppad_name_fill + PL_comppad_name_floor + PL_padix + PL_constpadix + PL_padix_floor + PL_min_intro_pending + PL_max_intro_pending + + be of type PADOFFSET rather than I32, to match the rest of the pad + interface. + + At the same time, change various I32 local vars in pad.c functions to be + PADOFFSET. + +This patch adjusts Coro to the changes. + +Signed-off-by: Petr Písař + +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121836 +Bug-Debian: https://bugs.debian.org/865019 + +--- + Coro/state.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/Coro/state.h b/Coro/state.h +index 9a3e84f..8d6d067 100644 +--- a/Coro/state.h ++++ b/Coro/state.h +@@ -83,8 +83,13 @@ VAR(compcv, CV *) /* currently compiling subroutine */ + + VAR(comppad, AV *) /* storage for lexically scoped temporaries */ + VAR(comppad_name, AV *) /* variable names for "my" variables */ ++#if PERL_VERSION_ATLEAST (5,25,6) ++VAR(comppad_name_fill, PADOFFSET) /* last "introduced" variable offset */ ++VAR(comppad_name_floor, PADOFFSET) /* start of vars in innermost block */ ++#else + VAR(comppad_name_fill, I32) /* last "introduced" variable offset */ + VAR(comppad_name_floor, I32) /* start of vars in innermost block */ ++#endif + + VAR(runops, runops_proc_t) /* for tracing support */ + +-- +2.9.4 + diff -Nru libcoro-perl-6.511/debian/patches/series libcoro-perl-6.511/debian/patches/series --- libcoro-perl-6.511/debian/patches/series 2016-09-25 21:17:12.000000000 +0000 +++ libcoro-perl-6.511/debian/patches/series 2017-06-19 18:42:25.000000000 +0000 @@ -1,3 +1,4 @@ +coro-5.26.patch fix-wrong-path-for-interpreter.patch whatis.patch spelling.patch