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

Bug#593774: unblock: libmoose-perl/1.09-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Please unblock package libmoose-perl, version 1.09-2.

The -2 upload adds a patch by Niko Tyni to deal with the FTBFS
on ia64; the change is actually a one-line patch (debdiff attached).

Thanks in advance,
gregor


unblock libmoose-perl/1.09-2


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-rc5.201007141816
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMbu/XAAoJELs6aAGGSaoGINwQALnvxNGWMN7KA4r/v4PcEIVI
KJdUB7m9T0Vt6jdW6spr71xcoiUDxU9fcjiGHVmtT7dxMhnNOA/7Ntgkje1+2snK
KPp7pdBAr9FLP3EtyB7JwjmXbnkHezi9+vbV4WqeVtrW46XV/X4gFzqM8pxH+LZU
Nx46I1gHRdQC7C9J32QIuDe4Y4mOrrN/XXWfVmqdRQzuJNwF4Uh+DRtb9rGJvD/d
+XXDZEJzGbllUFd48ct0D8X6qqjdnM73njaleXASh4oFl+Wyf9sJi4X83FGA5FL+
BU39kI4WHKkmfMkZpPeBLCWaiDxtuTbbnRn2gBH3PfRZbwBqQiVuvHXm9QTcyBLE
J3UWxIKKqTMkCyALa6Gwh1bYd6ijceMiZ7E5RwrBvTskASxCqA0JmxlAeP+fF2Aa
/TVrZ+xYPtomSEkAuAUAnudkYXyaHJ6GCgMot3lGTgINzIfYvgZVbIyer/WSX2g2
69gSNVT0xKHRyMV5c6l0fTXA0ovL2ofH5WXRWKV2J0KUNrqbrL14vmvwPMngpQAv
RnP02++1Pyc1oR3dy2f1GYlGvX/j30IfXh+pQqJb/ZXaw7S6/OKcTohMSQZhTvir
BcEx0xUXyTZTwg1DQAgS67VuEFUZ5L2miuulAw+cgj9oDjQ5tgY4RI0QrymatGer
mAKtRC7c2TkSBpXCb8Du
=nX0l
-----END PGP SIGNATURE-----
diff -Nru libmoose-perl-1.09/debian/changelog libmoose-perl-1.09/debian/changelog
--- libmoose-perl-1.09/debian/changelog	2010-07-27 20:23:15.000000000 +0200
+++ libmoose-perl-1.09/debian/changelog	2010-08-20 22:18:38.000000000 +0200
@@ -1,3 +1,12 @@
+libmoose-perl (1.09-2) unstable; urgency=low
+
+  * Add patch 0001-Work-around-a-numification-problem-on-ia64.patch:
+    explicitly numify before doing numeric comparsions as a workaround for a
+    numification problem on ia64 (closes: #588118). Thanks to Niko Tyni for
+    the analysis and the patch!
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 20 Aug 2010 22:18:02 +0200
+
 libmoose-perl (1.09-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru libmoose-perl-1.09/debian/patches/0001-Work-around-a-numification-problem-on-ia64.patch libmoose-perl-1.09/debian/patches/0001-Work-around-a-numification-problem-on-ia64.patch
--- libmoose-perl-1.09/debian/patches/0001-Work-around-a-numification-problem-on-ia64.patch	1970-01-01 01:00:00.000000000 +0100
+++ libmoose-perl-1.09/debian/patches/0001-Work-around-a-numification-problem-on-ia64.patch	2010-08-20 22:17:26.000000000 +0200
@@ -0,0 +1,29 @@
+From d6b18c1a4296d6c0c2ac8460a0e6af4560d2a079 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Fri, 20 Aug 2010 13:32:31 -0600
+Subject: [PATCH] Work around a numification problem on ia64
+
+As seen in <http://bugs.debian.org/588118>, the numeric comparison
+seems to trigger a bug in perl 5.10.1 on the ia64 architecture.
+
+Explicitly numifying before comparing seems to work around this.
+---
+ lib/Moose/Meta/TypeConstraint.pm |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm
+index 1c8f3de..700f77f 100644
+--- a/lib/Moose/Meta/TypeConstraint.pm
++++ b/lib/Moose/Meta/TypeConstraint.pm
+@@ -135,7 +135,7 @@ sub equals {
+ 
+     my $other = Moose::Util::TypeConstraints::find_type_constraint($type_or_name) or return;
+ 
+-    return 1 if $self == $other;
++    return 1 if (0+$self == 0+$other);
+ 
+     if ( $self->has_hand_optimized_type_constraint and $other->has_hand_optimized_type_constraint ) {
+         return 1 if $self->hand_optimized_type_constraint == $other->hand_optimized_type_constraint;
+-- 
+1.7.1
+
diff -Nru libmoose-perl-1.09/debian/patches/series libmoose-perl-1.09/debian/patches/series
--- libmoose-perl-1.09/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libmoose-perl-1.09/debian/patches/series	2010-08-20 22:16:51.000000000 +0200
@@ -0,0 +1 @@
+0001-Work-around-a-numification-problem-on-ia64.patch

Reply to: