pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Set-Object Add build fix for cases where asse...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d19b23d4ceb2
branches:  trunk
changeset: 551162:d19b23d4ceb2
user:      tonnerre <tonnerre%pkgsrc.org@localhost>
date:      Tue Dec 09 07:24:14 2008 +0000

description:
Add build fix for cases where assert() is not a no-op. See also CPAN bug
#40356 which confirms this.

diffstat:

 devel/p5-Set-Object/distinfo         |   3 ++-
 devel/p5-Set-Object/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 1b963e9b3c7c -r d19b23d4ceb2 devel/p5-Set-Object/distinfo
--- a/devel/p5-Set-Object/distinfo      Tue Dec 09 06:57:39 2008 +0000
+++ b/devel/p5-Set-Object/distinfo      Tue Dec 09 07:24:14 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/11/17 22:08:17 he Exp $
+$NetBSD: distinfo,v 1.4 2008/12/09 07:24:14 tonnerre Exp $
 
 SHA1 (Set-Object-1.26.tar.gz) = 3bbbb2a5889cdfc148b20343e90316a9969005ee
 RMD160 (Set-Object-1.26.tar.gz) = 5ee47e73fcba2767d8bd37f81d53eb266669de1c
 Size (Set-Object-1.26.tar.gz) = 72924 bytes
+SHA1 (patch-aa) = 499aa9c7e91b2761fc415b279c1a95b36fb096b6
diff -r 1b963e9b3c7c -r d19b23d4ceb2 devel/p5-Set-Object/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Set-Object/patches/patch-aa      Tue Dec 09 07:24:14 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/12/09 07:24:14 tonnerre Exp $
+
+--- Object.xs.orig     2008-10-12 23:06:28.000000000 +0200
++++ Object.xs
+@@ -342,7 +342,7 @@ _dispel_magic(ISET* s, SV* sv) {
+        I32 i = AvFILLp(wand);
+        int c = 0;
+ 
+-       assert( SvTYPE(want) == SVt_PVAV );
++       assert( SvTYPE(wand) == SVt_PVAV );
+ 
+        while (i >= 0) {
+        if (svp[i] && SvIV(svp[i])) {



Home | Main Index | Thread Index | Old Index