Package: open-invaders Version: 0.3-2 Severity: important Tags: patch Justification: fails to build from source User: [email protected] Usertags: sparc64
open-invaders fails to build from source on s390x and sparc64 with a compile time assertion. These architectures are 64-bit, and therefore should be added to the list. The patch below does that, would it be possible to add it in the next upload? Thanks in advance. diff -u open-invaders-0.3/debian/patches/fix_pmask_amd64.patch open-invaders-0.3/debian/patches/fix_pmask_amd64.patch --- open-invaders-0.3/debian/patches/fix_pmask_amd64.patch +++ open-invaders-0.3/debian/patches/fix_pmask_amd64.patch @@ -6,7 +6,7 @@ //don't worry about setting it incorrectly //you'll get a compile error if you do, not a run-time error -#define MASK_WORD_BITBITS 5 -+#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) ++#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) + #define MASK_WORD_BITBITS 6 +#else + #define MASK_WORD_BITBITS 5 -- System Information: Debian Release: wheezy/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: s390x Kernel: Linux 3.0.0-1-s390x (SMP w/2 CPU cores) 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]

