package/execline: fix uclibc build

Fix the following uclibc build failure raised since bump to version
2.9.5.1 in commit 42fad03182 and
6dfe54be86:

src/execline/eltest.c: In function 'eltest_run':
src/execline/eltest.c:366:31: error: 'struct stat' has no member named 'st_mtim'; did you mean 'st_mtime'?
  366 |       return timespec_cmp(&st.st_mtim, &st.st_atim) > 0 ;
      |                               ^~~~~~~
      |                               st_mtime

Fixes: 42fad03182
 - http://autobuild.buildroot.org/results/64bf2928f36e07332052854cbaaa7a6f8f347e29

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine
2024-06-15 09:56:19 +02:00
committed by Yann E. MORIN
parent ddc46ee1a2
commit 106e43e303

View File

@@ -12,6 +12,7 @@ EXECLINE_INSTALL_STAGING = YES
EXECLINE_DEPENDENCIES = skalibs
EXECLINE_CONF_OPTS = \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
--prefix=/ \
--with-sysdeps=$(STAGING_DIR)/lib/skalibs/sysdeps \
--with-include=$(STAGING_DIR)/include \