Package: libticables
Version: 1.2.0-1
Severity: important
Tags: patch

libticables fails to build on SH4, due to a problem in the configure
script, which only detects sh architecture, and not the 
subarchitectures. The patch below fixes the problem.

Could you please apply it in the next upload? Thanks in advance.


diff -Nru 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-01-30 17:57:59.000000000 +0100
@@ -30331,7 +30331,7 @@
   powerpc-*-linux-*)     ARCH="-D__PPC__  -D__LINUX__" ;;
   powerpc-apple-darwin*) ARCH="-D__PPC__  -D__MACOSX__" ;;
   s390-*-linux-*)        ARCH="-D__LINUX__" ;;
-  sh-*-linux-*)          ARCH="-D__LINUX__" ;;
+  sh*-*-linux-*)         ARCH="-D__LINUX__" ;;
   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;
 esac
diff -Nru 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-01-30 17:57:52.000000000 +0100
@@ -120,7 +120,7 @@
   powerpc-*-linux-*)     ARCH="-D__PPC__  -D__LINUX__" ;;
   powerpc-apple-darwin*) ARCH="-D__PPC__  -D__MACOSX__" ;;
   s390-*-linux-*)        ARCH="-D__LINUX__" ;;
-  sh-*-linux-*)          ARCH="-D__LINUX__" ;;
+  sh*-*-linux-*)         ARCH="-D__LINUX__" ;;
   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;
 esac


-- System Information:
Debian Release: squeeze/sid
Architecture: sh4

Kernel: Linux 2.6.31.12
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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to