pkgsrc/devel/p5-Clone-Fast/patches/patch-aa
sno 5afef031ac Updating package for Perl5 module Clone::Fast from CPAN in
devel/p5-Clone-Fast from 0.92 to 0.96.

pkgsrc changes:
- add patch from RT#65485 to fix for Perl 5.11.0 and above

Upstream changes:
Sun Feb 12 17:43:44 PST
    Version 0.96
	Remove debugging code

Fri Feb 10 21:48:38 PST
    Version 0.94
	Don't infinite recurse on @ magic.
2012-03-22 14:01:02 +00:00

16 lines
482 B
Text

$NetBSD: patch-aa,v 1.1 2012/03/22 14:01:03 sno Exp $
--- Fast.xs.orig 2012-02-13 01:44:50.000000000 +0000
+++ Fast.xs
@@ -130,7 +130,11 @@ static sv_clone_t sv_clone_table[] = {
#endif
(sv_clone_t)clone_sv, // SVt_IV
(sv_clone_t)clone_sv, // SVt_NV
+#if PERL_VERSION < 11
(sv_clone_t)clone_rv, // SVt_RV
+#else
+ (sv_clone_t)clone_sv, // SVt_IV
+#endif
(sv_clone_t)clone_sv, // SVt_PV
(sv_clone_t)clone_sv, // SVt_PVIV
(sv_clone_t)clone_sv, // SVt_PVNV