Hi Helge, Thanks for your patch, I just upload. The patch is work perfect, all 32-bit architectures build success! yeah!
xtail is very old software, it's upstream is not active now, I still forwarded your patch to upstream author's email. Merry Christmas and a Happy New Year! Regards, 在 2024/12/25 08:40, Helge Deller 写道: > Package: xtail > Version: 2.1-10 > Tags: ftbfs patch > Usertags: hppa > > Since we turned on 64-bit time_t, xtail now fails to build on most 32-bit > architectures. The attached trivial patch fixes the build. > > Can you please apply it for next upload and maybe even push it upstream? > > Thanks, > Helge > > --- > > [PATCH] Fix build failure on 32-bit platforms > > Use the time_t type instead of the hardcoded long type for mtime variable. > This is necessary since we recently enabled 64-bit time_t on most 32-bit > platforms. > > Signed-off-by: Helge Deller <del...@gmx.de> > > --- > > diff -up ./xtail.h.org ./xtail.h > --- ./xtail.h.org 2024-12-25 00:31:31.133262689 +0000 > +++ ./xtail.h 2024-12-25 00:31:50.029631603 +0000 > @@ -108,7 +108,7 @@ struct entry_descrip { > char *name; /* pathname to the entry > */ > int fd; /* opened fd, or <= 0 if not opened */ > long size; /* size of entry last time checked > */ > - long mtime; /* modification time last time checked > */ > + time_t mtime; /* modification time last time checked */ > dev_t dev; /* device number last time, if file is opened > */ > ino_t ino; /* inode number last time, if file is opened > */ > }; -- 肖盛文 xiao sheng wen -- Debian Developer(atzlinux) Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org Debian salsa: https://salsa.debian.org/atzlinux-guest GnuPG Public Key: 0x00186602339240CB
OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature