Bug#458733: FTBFS on architectures where char is unsigned by default

Michel Dänzer daenzer at debian.org
Wed Jan 2 13:58:26 UTC 2008


Package: warzone2100
Version: 2.1.0~0.svn1436-1
Severity: serious
Tags: patch
Justification: no longer builds from source

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The attached patch fixes a problem on architectures where the char type is
unsigned by default: a value of an unsigned variable can never be equal to
EOF. This was caught by gcc -Werror.

The patch also fixes a build failure with dpkg-buildpackage -j by fixing the
target dependencies in debian/rules.


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental'), (101, 'gutsy-security'), (101, 'gutsy')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-rc5-powerpc
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages warzone2100 depends on:
ii  libc6                  2.7-5             GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl 7.0.2-3           A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 7.0.2-3           The OpenGL utility library (GLU)
ii  libogg0                1.1.3-3           Ogg Bitstream Library
ii  libopenal0a            1:0.0.8-7         OpenAL is a portable library for 3
ii  libphysfs-1.0-0        1.0.0-5           filesystem abstraction library for
hi  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsdl-net1.2          1.2.7-2           network library for Simple DirectM
ii  libsdl1.2debian        1.2.12-3          Simple DirectMedia Layer
ii  libvorbis0a            1.2.0.dfsg-3      The Vorbis General Audio Compressi
ii  libvorbisfile3         1.2.0.dfsg-3      The Vorbis General Audio Compressi
ii  libx11-6               2:1.1.3-1         X11 client-side library
ii  warzone2100-data       2.1.0~0.svn1436-1 3D real time strategy game (data f

warzone2100 recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHe5iCWoGvjmrbsgARAreWAJ9DJJYO6SXt7TNHNR784SCNtenYpgCgmZU3
Aeh+6fMc9KL7lFJy3ZT/wMc=
=pybm
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warzone2100.diff
Type: text/x-c
Size: 1455 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080102/cb63bb3a/attachment.bin 


More information about the Pkg-games-devel mailing list