This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libcoro-perl.

commit d6a751c45999b4f79f3d85290c2a46eaccdc37f2
Author: gregor herrmann <gre...@debian.org>
Date:   Sun Sep 25 23:07:07 2016 +0200

    Add back a hunk of the removed patch as coro-5.24.patch.
    
    Closes: #838851
---
 debian/patches/coro-5.24.patch | 21 +++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/coro-5.24.patch b/debian/patches/coro-5.24.patch
new file mode 100644
index 0000000..86394fc
--- /dev/null
+++ b/debian/patches/coro-5.24.patch
@@ -0,0 +1,21 @@
+Description: fix for Coro with 5.24
+Origin: https://paste.debian.net/688072
+Bug-Debian: https://bugs.debian.org/838851
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=114708
+Author: Anonymous
+Last-Update: 2016-09-25
+
+--- a/Coro/State.xs
++++ b/Coro/State.xs
+@@ -1412,7 +1412,11 @@
+                           PUSHMARK (SP);
+                           PUSHs (&PL_sv_yes);
+                           PUSHs (fullname);
++# if PERL_VERSION_ATLEAST(5,24,0)
++                          PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc 
(PL_curpad[0])) : &PL_sv_undef);
++#else
+                           PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc ((SV 
*)cx->blk_sub.argarray)) : &PL_sv_undef);
++#endif
+                           PUTBACK;
+                           cb = hv_fetch ((HV *)SvRV (coro_current), 
"_trace_sub_cb", sizeof ("_trace_sub_cb") - 1, 0);
+                           if (cb) call_sv (*cb, G_KEEPERR | G_EVAL | G_VOID | 
G_DISCARD);
diff --git a/debian/patches/series b/debian/patches/series
index 84caea7..c99d72d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix-wrong-path-for-interpreter.patch
 whatis.patch
 spelling.patch
 fix-ftbfs-with-longjmp.patch
+coro-5.24.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcoro-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to