Package: libticables3
Version: 3.9.2-1
Severity: normal
Tags: patch

When building 'libticables3' on ppc64/unstable,
I get the following error:

detect.c: In function 'ticable_detect_os':
detect.c:67: warning: implicit declaration of function '_'
detect.c:67: warning: assignment makes pointer from integer without a cast
detect.c: At top level:
detect.c:78: error: syntax error before 'int'
detect.c:78: error: syntax error before '*' token
detect.c:79: warning: return type defaults to 'int'
detect.c:102: error: syntax error before 'int'
detect.c:102: error: syntax error before '*' token
detect.c:103: warning: return type defaults to 'int'
detect.c:112: error: syntax error before 'ticable_detect_all'
detect.c:112: error: syntax error before 'TicablePortInfo'
detect.c:113: warning: return type defaults to 'int'
make[3]: *** [libticables_la-detect.lo] Error 1
make[3]: Leaving directory `/libticables3-3.9.2/src'

With the attached patch 'libticables3' can be compiled
on ppc64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libticables3-3.9.2/configure ./configure
--- ../tmp-orig/libticables3-3.9.2/configure    2005-07-21 09:56:30.000000000 
+0000
+++ ./configure 2005-07-21 09:56:19.000000000 +0000
@@ -29058,6 +29058,7 @@
   sh-*-linux-*)          ARCH="-D__LINUX__" ;;
   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;
+  *-*-linux-*)           ARCH="-D__LINUX__" ;;
 esac
 CFLAGS="$CFLAGS $ARCH"
 
diff -urN ../tmp-orig/libticables3-3.9.2/configure.ac ./configure.ac
--- ../tmp-orig/libticables3-3.9.2/configure.ac 2005-07-21 09:56:30.000000000 
+0000
+++ ./configure.ac      2005-07-21 09:55:57.000000000 +0000
@@ -153,6 +153,7 @@
   sh-*-linux-*)          ARCH="-D__LINUX__" ;;
   sparc-*-linux-*)       ARCH="-D__SPARC__ -D__LINUX__" ;;
   sparc*-sun-solaris*)   ARCH="-D__SPARC__ -D__SOL__" ;;
+  *-*-linux-*)           ARCH="-D__LINUX__" ;;
 esac
 CFLAGS="$CFLAGS $ARCH"
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to