Bug#542802: kiki-the-nano-bot: FTBFS on kfreebsd-i386

Petr Salinger Petr.Salinger at seznam.cz
Fri Aug 21 13:57:03 UTC 2009


Package: kiki-the-nano-bot
Version: 1.0.2+dfsg1-2
Severity: important
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on kfreebsd-i386, see
https://buildd.debian.org/fetch.cgi?pkg=kiki-the-nano-bot&arch=kfreebsd-i386&ver=1.0.2%2Bdfsg1-2&stamp=1250338412&file=log&as=raw

The off_t does not have to be long everywhere,
please fix it as shown bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                         Petr


--- kodilib/src/tools/KFileTools.cpp
+++ kodilib/src/tools/KFileTools.cpp
@@ -307,7 +307,7 @@
      int fd = open (dirPath.c_str(), O_RDONLY | O_NONBLOCK);

      struct stat sb;
-    long   basep;
+    off_t  basep;
      char * entry;

      if (fstat(fd, &sb) == -1)






More information about the Pkg-games-devel mailing list