Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37739376
en ru br
ALT Linux repos
S:1.46-alt1.1

Group :: Development/Perl
RPM: perl-Devel-FindRef

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 823247.patch
Download


MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-16357-1443792259-231.101077-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-19536-1419234567-1369.0-0-0@rt.cpan.org>
 <rt-4.0.18-16357-1443792259-231.101077-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-11126-1444067883-1639.101077-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC:
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1090
On 2015-10-02 09:24:19, GREGOA wrote:
> Anything new here?
> 
> We are about to upload Perl 5.22 to Debian/unstable soon,
> which means this module will have to be removed from testing first,
> and later from the archive completely.
Implementing Father Chrysostomos' suggestion makes the compilation work again (see below for the patch), but unfortunately the test suite again fails with a SEGV, just like with perl 5.21.6.
diff --git i/FindRef.xs w/FindRef.xs
index ac4c991..e64ffc1 100644
--- i/FindRef.xs
+++ w/FindRef.xs
@@ -6,13 +6,13 @@
   (PERL_REVISION > (a)                                          \
    || (PERL_REVISION == (a)                                     \
        && (PERL_VERSION > (b)                                   \
-           || (PERL_VERSION == (b) && PERLSUBVERSION >= (c)))))
+           || (PERL_VERSION == (b) && PERL_SUBVERSION >= (c)))))
 
 #if !PERL_VERSION_ATLEAST (5,8,9)
 # define SVt_LAST 16
 #endif
 
-#if !PERL_VERSION_ATLEAST (5,10,0)
+#if !PERL_VERSION_ATLEAST (5,10,0) || PERL_VERSION_ATLEAST (5,21,7)
 # define SvPAD_OUR(dummy) 0
 #endif
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin