Your message dated Sun, 21 Jan 2007 20:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#376642: fixed in atanks 2.0-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: atanks 1.5a
List,
    Not sure who this is to go to but here's the fix for atanks1.5a.
Please forward appropriately. C++ has two functions for abs() and it
looks like the author(s) of atanks wanted the (int) version.

    See
http://developers.sun.com/prodtech/cc/documentation/ss9_docs/mr/READMEs/c++_faq.html#bb12
for more information about abs().

    Please add a couple of type casts like I did below. Tested on FC4,
g++ 4.0.2.

FYI,
Mark Ramsell
------------------ fix -----------
$ diff src/player1.5a.cc src/player_new.cc

1041c1041
< (abs (ctank->x - cx) > radius))
---
> ((int) abs ((int) (ctank->x - cx)) >
radius))
1046c1046
< abs (ctank->x - cx) > radius)
---
> (int) abs ((int) (ctank->x - cx)) > radius)
1140c1140,1142
< _targetMatrix[(int)ctank->x] += sqrt
(abs (ctank->x - ltank->x)) * totalEffectiveDamage;
---
> _targetMatrix[(int)ctank->x] +=
> sqrt ((int) abs ((int) (ctank->x -
ltank->x))) *
> totalEffectiveDamage;





--- End Message ---
--- Begin Message ---
Source: atanks
Source-Version: 2.0-1

We believe that the bug you reported is fixed in the latest version of
atanks, which is due to be installed in the Debian FTP archive:

atanks-data_2.0-1_all.deb
  to pool/main/a/atanks/atanks-data_2.0-1_all.deb
atanks_2.0-1.diff.gz
  to pool/main/a/atanks/atanks_2.0-1.diff.gz
atanks_2.0-1.dsc
  to pool/main/a/atanks/atanks_2.0-1.dsc
atanks_2.0-1_i386.deb
  to pool/main/a/atanks/atanks_2.0-1_i386.deb
atanks_2.0.orig.tar.gz
  to pool/main/a/atanks/atanks_2.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <[EMAIL PROTECTED]> (supplier of updated atanks package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


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

Format: 1.7
Date: Sun, 21 Jan 2007 19:25:12 +0000
Source: atanks
Binary: atanks-data atanks
Architecture: source i386 all
Version: 2.0-1
Distribution: unstable
Urgency: low
Maintainer: Mark Purcell <[EMAIL PROTECTED]>
Changed-By: Mark Purcell <[EMAIL PROTECTED]>
Description: 
 atanks     - tank-battling game
 atanks-data - data files for Atomic tanks
Closes: 324878 376642
Changes: 
 atanks (2.0-1) unstable; urgency=low
 .
   * New upstream release
     - Game crashes all the time (Closes: #324878)
     - atanks bug fix: Ambiguous calls of abs(double) #318527 (Closes:
     #376642)
   * Update debian/watch
Files: 
 082fd46bafe074ea8550cc75e1be1b67 603 games optional atanks_2.0-1.dsc
 4406c7ea82c18dc7c978d04b0b5a3273 1545911 games optional atanks_2.0.orig.tar.gz
 e844467cb6b258484cbf0d6705733d95 5290 games optional atanks_2.0-1.diff.gz
 bd6f5d59c3d139eba8fb23c4fe234fd2 987604 games optional 
atanks-data_2.0-1_all.deb
 a481064ee97280d1e60d6576b06edd31 93928 games optional atanks_2.0-1_i386.deb

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

iD8DBQFFs8PLoCzanz0IthIRAjamAKCJADd2zVVqUA+HZ/CA4Z4950AQ4QCgke2x
zmypKCN7W/4etKmgmKddjBU=
=wX7p
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to