Package: blobwars Severity: normal Tags: patch Dear Maintainer,
blobwars currently FTBFS with clang 3.1 (the full build log can be found at http://clang.debian.net/logs/2012-06-23/blobwars_1.19-2_unstable_clang.log). The attached patch should fix this issue. WBR, Cyril Roelandt. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- blobwars-1.19.orig/src/player.cpp 2012-09-03 02:53:59.144165046 +0200 +++ blobwars-1.19/src/player.cpp 2012-09-03 02:56:15.296168543 +0200 @@ -290,7 +290,7 @@ Math::addBit(&player.flags, ENT_FLIES); player.setSprites(graphics.getSprite("JPBobRight", true), graphics.getSprite("JPBobLeft", true), graphics.getSprite("BobSpin", true)); } - else if ((player.environment == ENV_WATER)) + else if (player.environment == ENV_WATER) { engine.setInfoMessage("Jetpack cannot be used underwater", 0, INFO_NORMAL); }