r73988 - in /trunk/libclone-fast-perl/debian: changelog patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch patches/series

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed May 4 19:13:28 UTC 2011


Author: gregoa
Date: Wed May  4 19:13:09 2011
New Revision: 73988

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73988
Log:
Add patch by Niko Tyni to use clone_sv() instead of clone_rv() for cloning
references on newer perls (closes: #615571).

Added:
    trunk/libclone-fast-perl/debian/patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch
Modified:
    trunk/libclone-fast-perl/debian/changelog
    trunk/libclone-fast-perl/debian/patches/series

Modified: trunk/libclone-fast-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclone-fast-perl/debian/changelog?rev=73988&op=diff
==============================================================================
--- trunk/libclone-fast-perl/debian/changelog (original)
+++ trunk/libclone-fast-perl/debian/changelog Wed May  4 19:13:09 2011
@@ -1,3 +1,10 @@
+libclone-fast-perl (0.93-2) UNRELEASED; urgency=low
+
+  * Add patch by Niko Tyni to use clone_sv() instead of clone_rv() for cloning
+    references on newer perls (closes: #615571).
+
+ -- gregor herrmann <gregoa at debian.org>  Wed, 04 May 2011 21:11:51 +0200
+
 libclone-fast-perl (0.93-1) unstable; urgency=low
 
   * Initial Release (Closes: #608001)

Added: trunk/libclone-fast-perl/debian/patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclone-fast-perl/debian/patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch?rev=73988&op=file
==============================================================================
--- trunk/libclone-fast-perl/debian/patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch (added)
+++ trunk/libclone-fast-perl/debian/patches/0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch Wed May  4 19:13:09 2011
@@ -1,0 +1,32 @@
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/615571
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=65485
+Last-Update: 2011-05-04
+
+From f35f6e19700b9f0680484fd44c656ad971059c08 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Wed, 4 May 2011 21:38:23 +0300
+Subject: [PATCH] Use clone_sv() instead of clone_rv() for cloning references
+ on newer perls
+
+As of Perl 5.11, SVt_RV is gone and replaced by SVt_IV.
+
+Using clone_sv() instead fixes test 5 of t/03scalar.t failing on 5.12.
+---
+ Fast.xs |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+--- a/Fast.xs
++++ b/Fast.xs
+@@ -129,7 +129,11 @@
+ #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

Modified: trunk/libclone-fast-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclone-fast-perl/debian/patches/series?rev=73988&op=diff
==============================================================================
--- trunk/libclone-fast-perl/debian/patches/series (original)
+++ trunk/libclone-fast-perl/debian/patches/series Wed May  4 19:13:09 2011
@@ -1,1 +1,2 @@
 fix-pod-spelling.patch
+0001-Use-clone_sv-instead-of-clone_rv-for-cloning-referen.patch




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