Package: libzipios++0c102
Version: 0.1.5.9+cvs.2004.02.07-3
Severity: important
Tags: patch

Hi, I'm the maintainer of Wesnoth in Debian. Wesnoth uses libzipios and 
users are reporting crashes on amd64 caused by it. It looks like zipios
has some broken typedefs for uint32. The attached patch should fix it,
can you apply them to your package.

Best regards

- *PATCH* -----------------------------------------------------------------
--- zipios++/zipios_defs.h      2000-08-23 20:23:18.000000000 +0200
+++ zipios++/zipios_defs.h      2005-06-17 13:01:00.000000000 +0200
@@ -1,10 +1,20 @@
 #ifndef ZIPIOS_DEFS_H
 #define ZIPIOS_DEFS_H

+#include "zipios++/zipios-config.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 namespace zipios {

+#ifdef HAVE_STDINT_H
+typedef uint16_t uint16;
+typedef uint32_t uint32;
+#else
 typedef unsigned short uint16 ;
-typedef unsigned long  uint32 ;
+typedef unsigned int  uint32 ;
+#endif

 } // namespace
- *PATCH* -----------------------------------------------------------------

-- no debconf information


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

Reply via email to