tags 393007 patch stop Here's a patch to fix FTBFS.
The comment in the patch's context is amusing. -Ted
diff -ru tct-1.11/src/fstools/mylseek.c tct-1.11-new/src/fstools/mylseek.c --- tct-1.11/src/fstools/mylseek.c 2000-07-31 09:39:20.000000000 +1000 +++ tct-1.11-new/src/fstools/mylseek.c 2006-10-22 03:50:59.000000000 +1000 @@ -23,15 +23,15 @@ #ifdef USE_MYLSEEK #ifdef HAVE_LLSEEK #include <errno.h> -#include <syscall.h> +#include <sys/syscall.h> /* * This is LINUX, live on the bleeding edge and watch your software break * with the next release... */ -static _syscall5(int, _llseek, unsigned int, fd, unsigned long, offset_high, - unsigned long, offset_low, OFF_T *, result, - unsigned int, origin) +#define _llseek(fd, offset_high, offset_low, result, origin) \ + syscall(SYS__llseek, fd, offset_high, offset_low, result, origin) + /* mylseek - seek beyond the 32-bit barrier */ OFF_T mylseek(int fd, OFF_T offset, int whence)
signature.asc
Description: OpenPGP digital signature