Package: libticables
Version: 1.2.0-2
Severity: important
Tags: patch
Justification: fails to build from source
User: debian-s3...@lists.debian.org
Usertags: s390x

libticables fails to build from source as s390x is not correctly
recognized by the configure script. The patch below fixes the problem.
Could you please apply it in the next upload? Thanks in advance.

diff -u libticables-1.2.0/debian/patches/00list 
libticables-1.2.0/debian/patches/00list
--- libticables-1.2.0/debian/patches/00list
+++ libticables-1.2.0/debian/patches/00list
@@ -2,0 +3 @@
+30_ftbfs-s390x-configure
--- libticables-1.2.0.orig/debian/patches/30_ftbfs-s390x-configure.dpatch
+++ libticables-1.2.0/debian/patches/30_ftbfs-s390x-configure.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_ftbfs-s390x-configure.dpatch by Aurelien Jarno <aure...@debian.org>
+##
+## DP: detects s390x architecture
+
+@DPATCH@
+diff -urNad libticables-1.2.0~/configure libticables-1.2.0/configure
+--- libticables-1.2.0~/configure       2008-11-15 08:30:40.000000000 +0100
++++ libticables-1.2.0/configure        2010-03-16 23:11:48.140082889 +0100
+@@ -30330,7 +30330,7 @@
+   mipsel-*-linux-*)      ARCH="-D__MIPS__ -D__LINUX__" ;;
+   powerpc-*-linux-*)     ARCH="-D__PPC__  -D__LINUX__" ;;
+   powerpc-apple-darwin*) ARCH="-D__PPC__  -D__MACOSX__" ;;
+-  s390-*-linux-*)        ARCH="-D__LINUX__" ;;
++  s390*-*-linux-*)        ARCH="-D__LINUX__" ;;
+   sh*-*-linux-*)         ARCH="-D__LINUX__" ;;
+   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
+   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;
+diff -urNad libticables-1.2.0~/configure.ac libticables-1.2.0/configure.ac
+--- libticables-1.2.0~/configure.ac    2007-12-01 15:43:51.000000000 +0100
++++ libticables-1.2.0/configure.ac     2010-03-16 23:11:48.140082889 +0100
+@@ -119,7 +119,7 @@
+   mipsel-*-linux-*)      ARCH="-D__MIPS__ -D__LINUX__" ;;
+   powerpc-*-linux-*)     ARCH="-D__PPC__  -D__LINUX__" ;;
+   powerpc-apple-darwin*) ARCH="-D__PPC__  -D__MACOSX__" ;;
+-  s390-*-linux-*)        ARCH="-D__LINUX__" ;;
++  s390*-*-linux-*)        ARCH="-D__LINUX__" ;;
+   sh*-*-linux-*)         ARCH="-D__LINUX__" ;;
+   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
+   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;


-- 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