Package: tokyocabinet
Version: 1.4.37-6.1
Severity: normal
Tags: patch

tokyocabinet fails to build from source on s390x the same way as on 
s390, that is in the testsuite. The same workarounds apply (at least
it is consistent ;-), that is disabling the pthread support. This is
what the patch below does, would it be possible to include it in the 
next upload? Thanks in advance.

diff -Nru tokyocabinet-1.4.37/debian/rules tokyocabinet-1.4.37/debian/rules
--- tokyocabinet-1.4.37/debian/rules    2011-04-23 14:17:44.000000000 +0000
+++ tokyocabinet-1.4.37/debian/rules    2011-08-19 09:20:46.000000000 +0000
@@ -39,7 +39,7 @@
 
 override_dh_auto_configure: check-tarball
        dh_auto_configure -- \
-           $(if $(findstring $(DEB_BUILD_ARCH),s390),--disable-pthread) \
+           $(if $(findstring $(DEB_BUILD_ARCH),s390 s390x),--disable-pthread) \
            --enable-devel --enable-off64 --enable-swab \
            \
            CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: s390x

Kernel: Linux 3.0.0-1-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to