[SCM] Debian packaging of libcoro-perl branch, master, updated. debian/6.080-1-2-ga03f963

Alessandro Ghedini al3xbio at gmail.com
Thu Jun 28 10:57:09 UTC 2012


The following commit has been merged in the master branch:
commit ce08c9be1775c483d2fadbba60f767afbe158da7
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Thu Jun 28 12:33:19 2012 +0200

    Add revert-exit-change.patch

diff --git a/debian/patches/revert-exit-change.patch b/debian/patches/revert-exit-change.patch
new file mode 100644
index 0000000..8c5cdae
--- /dev/null
+++ b/debian/patches/revert-exit-change.patch
@@ -0,0 +1,27 @@
+Description: Restore original exit method to avoid multiple FTBFS
+Origin: vendor
+Forwarded: no
+Author: Alessandro Ghedini <ghedo at debian.org>
+Reviewed-by: Alessandro Ghedini <ghedo at debian.org>
+Last-Update: 2012-06-28
+
+--- a/Coro/State.xs
++++ b/Coro/State.xs
+@@ -1461,10 +1461,14 @@
+     /*
+      * If perl-run returns we assume exit() was being called or the coro
+      * fell off the end, which seems to be the only valid (non-bug)
+-     * reason for perl_run to return. We try to mimic whatever perl is normally
+-     * doing in that case. YMMV.
++     * reason for perl_run to return. We try to exit by jumping to the
++     * bootstrap-time "top" top_env, as we cannot restore the "main"
++     * coroutine as Coro has no such concept.
++     * This actually isn't valid with the pthread backend, but OSes requiring
++     * that backend are too broken to do it in a standards-compliant way.
+      */
+-    perlish_exit (aTHX);
++    PL_top_env = main_top_env;
++    JMPENV_JUMP (2); /* I do not feel well about the hardcoded 2 at all */
+   }
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d63b0d0..ed95d31 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-wrong-path-for-interpreter.patch
 whatis.patch
 spelling.patch
+revert-exit-change.patch

-- 
Debian packaging of libcoro-perl



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