heimdal: FTBFS on hurd-i386 (for review)
Source: heimdal
Version: 1.6~git20131207+dfsg-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hi,
Currently heimdal fails to build on GNU/Hurd due to a
missing definition of _IOT_sundevdata. The attached patch solves this
problem by defining it with the _IOT and _IOTS macros from ioctls.h
This definition is similar to the already defined _IOT_procdata and
_IOT_devdata already in that file.
Thanks!
--- a/lib/kafs/afssys.c 2013-12-07 14:36:38.000000000 +0100
+++ b/lib/kafs/afssys.c 2014-02-11 17:35:35.000000000 +0100
@@ -87,8 +87,13 @@ struct sundevdata {
uint64_t param1;
uint64_t syscall;
};
+#ifdef __GNU__
+/* FIXME: Enter the correct values here */
+#define _IOT_sundevdata _IOT(_IOTS(long), 7, 0, 0, 0, 0)
+#else
#define VIOC_SUN_SYSCALL_DEV _IOW('C', 1, struct sundevdata)
#endif
+#endif /* __GNU__ */
#endif /* _IOW */
Reply to: