Package: chmlib
Version: 0.35-5
Severity: important

I don't know exactly why (probably due a misuse of those types in code
or a bug on gcc) but the debian package patch for integer sizes
completely breaks chmlib on amd64. Rebuilding chmlib without using those
int64_t, in32_t, ... types makes it work again.

If those types are needed for other platforms, please leave the regular
"long long" ones for amd64.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages chmlib depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information
diff -ur -ur chmlib-0.35.old/src/chm_lib.c chmlib-0.35.new/src/chm_lib.c
--- chmlib-0.35.old/src/chm_lib.c	2004-06-29 01:42:38.000000000 +0100
+++ chmlib-0.35.new/src/chm_lib.c	2005-03-28 23:04:10.354504560 +0100
@@ -160,7 +160,7 @@
 /* Sparc        */
 /* MIPS         */
 /* PPC          */
-#elif __i386__ || __sun || __sgi || __ppc__
+#elif __i386__ || __sun || __sgi || __ppc__ || __x86_64__
 typedef unsigned char           UChar;
 typedef short                   Int16;
 typedef unsigned short          UInt16;

Reply via email to