[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SRM] unace_1.2b-4etch1



Hi,

There's an RC bug (#431380) in unace due to it not being 64 bit clean.
Attached the debdiff against stable. Ok to upload?

I could easily also prepare another backport for oldstable...

thanks,
guillem
diff -u unace-1.2b/debian/changelog unace-1.2b/debian/changelog
--- unace-1.2b/debian/changelog
+++ unace-1.2b/debian/changelog
@@ -1,3 +1,11 @@
+unace (1.2b-4etch1) stable; urgency=low
+
+  * Make the program 64 bit clean, by using <stdint.h> to typedef the data
+    types independently of the target system. (Closes: #431380)
+    - debian/patches/004_64_bit_clean.patch: New file.
+
+ -- Guillem Jover <guillem@debian.org>  Thu, 02 Aug 2007 05:51:39 +0300
+
 unace (1.2b-4) unstable; urgency=low
 
   * Now using Standards-Version 3.7.2 (no changes needed).
only in patch2:
unchanged:
--- unace-1.2b.orig/debian/patches/004_64_bit_clean.patch
+++ unace-1.2b/debian/patches/004_64_bit_clean.patch
@@ -0,0 +1,26 @@
+#DPATCHLEVEL=0
+Index: declare.h
+===================================================================
+--- declare.h.orig	2004-01-30 00:13:50.000000000 +0200
++++ declare.h	2007-07-17 08:44:05.000000000 +0300
+@@ -15,12 +15,14 @@
+ 
+ #else /* AMIGA */
+ 
+-typedef unsigned short USHORT;
+-typedef short          SHORT ;
+-typedef unsigned short UWORD ;
+-typedef short          WORD  ;
+-typedef unsigned long  ULONG ;
+-typedef long           LONG  ;
++#include <stdint.h>
++
++typedef uint16_t       USHORT;
++typedef int16_t        SHORT ;
++typedef uint16_t       UWORD ;
++typedef int16_t        WORD  ;
++typedef uint32_t       ULONG ;
++typedef int32_t        LONG  ;
+ 
+ #endif  /* !AMIGA */
+ 

Reply to: