[PATCH] coreutils/date.c with DATE_NANO for __UCLIBC__ and some variations of __GLIBC__

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 23 00:25:50 UTC 2012


On Wednesday 22 February 2012 00:35, Iwan Aucamp wrote:
> Hi,
> 
> I'm attaching a patch which fixes coreutils/date.c with ENABLE_FEATURE_DATE_NANO defined for uclibc and some variations on glibc.
> 
> Without this patch the following error is experienced when compiling for uclibc (including this for google hits):
>   coreutils/date.c: In function 'date_main':
>   coreutils/date.c:252: error: 'struct stat' has no member named 'st_mtim'
> 
> A fixed ebuild for gentoo is available @ https://gitorious.org/abraxas-gentoo-overlay/abraxas-gentoo-overlay

This breaks my uclibc build.

-- 
vda


More information about the busybox mailing list