]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/infozip: fix LARGE_FILE_SUPPORT check
authorRomain Naour <romain.naour@openwide.fr>
Sat, 24 Jan 2015 15:23:43 +0000 (16:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 5 Feb 2015 21:49:04 +0000 (22:49 +0100)
commit3046df45728e2f84adcc50e14469099d9e52ce64
treefac32ed152185e4b81b9696aad200bf987783437
parent8a68dc36910eb7ca5c8f765195f170a462d73258
package/infozip: fix LARGE_FILE_SUPPORT check

The LFS check was dropped in commit cc4dedd9.

Since then there is a runtime error:
zip warning : Not supported (uzoff_t not same size as zoff_t)

However LFS check can't readded as is because it can't work
for cross-compilation since it try to run a target's binary on
the host system.

Replace infozip's LFS check with the one used by autoconf.
This allows to readd LFS support for host-infozip.

Reported-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/infozip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch [new file with mode: 0644]