kumquat-buildroot/package/zip
Peter Seiderer 376d2e8564 package/zip: fix musl compile
For musl toolchain timezone.c needs time.h include.

Fixes:
  http://autobuild.buildroot.net/results/77346a2cdb9eeef661527fb9566019f3cd1b82c9

  In file included from util.c:28:
  timezone.c: In function 'mktime':
  timezone.c:644:18: error: dereferencing pointer to incomplete type 'struct tm'
       save_isdst = tm->tm_isdst;

  timezone.c:661:11: warning: implicit declaration of function 'localtime'; did you mean 'dostime'? [-Wimplicit-function-declaration]
       ltm = localtime(&then);

  timezone.c:661:9: warning: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
       ltm = localtime(&then);

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-22 13:52:25 +01:00
..
0001-configure-Remove-Check-C-compiler-type-optimization-.patch
0002-configure-Don-t-use-host-CPP.patch
0003-Makefile-Use-CFLAGS-from-command-line.patch
0004-configure-use-LDFLAGS-from-command-line.patch
0005-unix-configure-remove-GID-UID-size-check.patch
0006-unix-configure-borrow-the-LFS-test-from-autotools.patch
0007-timezone.c-needs-time.h-fixes-musl-compile.patch
Config.in
Config.in.host
zip.hash
zip.mk