Re: heimdal: FTBFS on hurd-i386 (for review)
Svante Signell, le Tue 11 Feb 2014 18:39:15 +0100, a écrit :
> Regarding the use of _IOT etc, I'm trying to follow
> the same construct as you and Pino did in bug#483281
Why not simply reading the documentation in the porting guidelines too?
> --- a/lib/kafs/afssys.c 2013-12-07 14:36:38.000000000 +0100
> +++ b/lib/kafs/afssys.c 2014-02-11 18:35:53.000000000 +0100
> @@ -76,6 +76,10 @@ struct sundevdata {
> uint32_t param1;
> uint32_t syscall;
> };
> +#ifdef __GNU__
> +/* FIXME: Enter the correct values here */
> +#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 +91,10 @@ struct sundevdata {
> uint64_t param1;
> uint64_t syscall;
> };
> +#ifdef __GNU__
> +/* FIXME: Enter the correct values here */
> +#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 */
Those are now correct.
Samuel
Reply to: