Bug#370810: supertuxkart_0.0.0.1-1(amd64/unstable): FTBFS (64bit): KartDriver.cxx:618: error: cast from 'ssgEntity*' to 'int' loses precision

Pascal evilynux at gmail.com
Mon Sep 18 05:38:25 UTC 2006


This can be fixed by patching src/KartDriver.cxx.
Tested on amd64.

Simply add the patch system to your debian/rules:
  include /usr/share/cdbs/1/rules/simple-patchsys.mk

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
-------------- next part --------------
--- src/KartDriver.cxx.old	2006-09-18 01:17:17.000000000 -0400
+++ src/KartDriver.cxx	2006-09-18 01:24:40.000000000 -0400
@@ -615,7 +615,7 @@
                 << entity->getPrintableName() 
                 << "' '" 
                 << (entity->getName() ? entity->getName() : "null")
-                << "' " << int(entity) << std::endl;
+                << "' " << entity << std::endl;
       
          ssgBranch* branch = dynamic_cast<ssgBranch*>(entity);
       


More information about the Pkg-games-devel mailing list