Bug#619208: smartmontools: FTBFS on hurd-i386: missing #include in os_generic.cpp

2011-04-07 Thread Christian Franke
The os_generic.cpp is a dummy OS interface module which is selected by 
configure for platforms not yet supported by smartmontools.

I would suggest to remove the smartmontools package from hurd-i386.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#619208: smartmontools: FTBFS on hurd-i386: missing #include in os_generic.cpp

2011-03-21 Thread Pino Toscano
Package: smartmontools
Version: 5.40+svn3296-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

currently[1], smartmontools fails to build on GNU/Hurd.
The problem is a missing #include in os_generic.cpp (the OS implementation used
in Hurd), which is what the attached patch fixes.

[1] 
https://buildd.debian.org/fetch.cgi?pkg=smartmontoolsarch=hurd-i386ver=5.40%2Bsvn3296-1stamp=1300749483file=logas=raw

Thanks,
-- 
Pino
--- a/os_generic.cpp
+++ b/os_generic.cpp
@@ -71,6 +71,7 @@
 
 // These are needed to define prototypes and structures for the
 // functions defined below
+#include int64.h
 #include atacmds.h
 #include utility.h