Bug#433671: Broken on powerpc (and all big endian architectures)

Michel Dänzer daenzer at debian.org
Wed Jul 18 17:32:59 UTC 2007


Package: warsow
Version: 0.31.dfsg-2
Severity: important
Tags: patch


The attached patch fixes two problems on powerpc:

      * Define CPUSTRING and ARCH, so e.g. modules are correctly looked
        for as *_powerpc.so instead of *_Unknown.so. This is probably
        necessary for other architectures as well.
      * Fix the off-by-one definition of HEADER_LUMPS, so the size of
        dheader_t is calculated correctly, and all of its members are
        byte-swapped as needed. Without this, loading the demo (and
        probably at least some maps) fails on big endian systems.


--- System information. ---
Architecture: powerpc
Kernel:       Linux 2.6.21-2-powerpc

Debian Release: lenny/sid
  500 unstable        mirror.switch.ch 
  500 stable          security.debian.org 
  102 experimental    ftp.ch.debian.org 

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-======================
libc6                          (>= 2.6-1) | 2.6-2
libcurl3-gnutls             (>= 7.16.2-1) | 7.16.2-6
libjpeg62                                 | 6b-13
libkrb53                  (>= 1.6.dfsg.1) | 1.6.dfsg.1-6
libsdl1.2debian             (>= 1.2.10-1) | 1.2.11-9
libvorbisfile3                 (>= 1.1.2) | 1.1.2.dfsg-2
libx11-6                                  | 2:1.1.2-1
libxext6                                  | 1:1.0.3-2
libxinerama1                              | 1:1.0.2-1
libxxf86dga1                              | 2:1.0.1-2
libxxf86vm1                               | 1:1.0.1-2
zlib1g              (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-5
warsow-data                     (>= 0.31) | 0.31-1
warsow-data                     (<< 0.32) | 0.31-1

-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warsow.diff
Type: text/x-patch
Size: 1133 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070718/75c7dd26/attachment.bin 


More information about the Pkg-games-devel mailing list