Package: smartmontools
Version: 5.42+svn3539-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs extra includes, see bellow.
Thanks in advance
Petr
--- smartmontools-5.42+svn3539.orig/cciss.cpp
+++ smartmontools-5.42+svn3539/cciss.cpp
@@ -24,6 +24,10 @@
# define _HAVE_CCISS
#elif defined(__FreeBSD_kernel__)
# include <endian.h>
+# ifdef __GLIBC__
+# include <bsd/sys/cdefs.h>
+# include <stdint.h>
+# endif
# include CISS_LOCATION
# define _HAVE_CCISS
#endif
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]