ea0a4c610d
Fix the following static build failure on musl which is raised because the "Check for directory libraries" in configure wrongly adds -DNO_DIR when no directory library is needed: /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c unix/unix.c:70:14: error: conflicting types for 'DIR' 70 | typedef FILE DIR; | ^~~ Fixes: - http://autobuild.buildroot.org/results/83a6e0c8c4ad026cb0261246e3b1a80d754454bd Patch not sent upstream since upstream is dead. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
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 | ||
0008-fix-musl-static-build.patch | ||
Config.in | ||
Config.in.host | ||
zip.hash | ||
zip.mk |