Bug#825012: Half-working patch

Martin Petricek mp at pdfedit.cz
Sun Nov 6 21:39:31 UTC 2016


I needed libalgorithm-permute-perl as dependency of one of my scripts.

The perlapi changed between 5.22 and 5.24, so just recompilation won't 
do the trick.

I've tried to fix it (PUSHBLOCK was replaced by new cx_pushblock, etc 
...), but as it is first times I've done something with the xs / 
perlguts / perl internals, my fix was not perfect.
The code compiles and installs cleanly, some of my scripts using 
Algorithm::Permute run properly, but some of them fail with segfault or 
some "panic: pp_iter, type=0" message.

Well, in worst case anybody can use my patch until someone else fixes 
this properly... or use this patch as base of a proper patch.

Martin Petricek
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: halfw.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161106/fcf1afa3/attachment.ksh>


More information about the pkg-perl-maintainers mailing list