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 from a previous patch. Since that patch is no longer present in debian/patches, it seems to have been applied upstream. Thanks!
--- a/lib/kafs/afssys.c 2013-12-07 14:36:38.000000000 +0100 +++ b/lib/kafs/afssys.c 2014-02-11 19:32:24.000000000 +0100 @@ -76,6 +76,9 @@ struct sundevdata { uint32_t param1; uint32_t syscall; }; +#ifdef __GNU__ +#define _IOT_sundevdata _IOT(_IOTS(uint32_t), 7, 0, 0, 0, 0) +#endif #define VIOC_SUN_SYSCALL_DEV _IOW('C', 2, struct sundevdata) #else struct sundevdata { @@ -87,6 +90,9 @@ struct sundevdata { uint64_t param1; uint64_t syscall; }; +#ifdef __GNU__ +#define _IOT_sundevdata _IOT(_IOTS(uint64_t), 7, 0, 0, 0, 0) +#endif #define VIOC_SUN_SYSCALL_DEV _IOW('C', 1, struct sundevdata) #endif #endif /* _IOW */