Commit Graph

6 Commits

Author SHA1 Message Date
Michael Heimpold
d8f0ebaa3d libzip: update to 1.7.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 1335121067)
2021-01-15 13:44:00 -08:00
Michael Heimpold
9a0a7f928a libzip: update to 1.7.1 (closes #12512)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit fa566417ca)
2021-01-15 13:44:00 -08:00
Michael Heimpold
5fc9220434 libzip: update to 1.6.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 5a6054d477)
2021-01-15 13:44:00 -08:00
Michael Heimpold
9174036e4c libzip: update to 1.6.0
Also remove upstreamed patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 3b622a612c)
2021-01-15 13:43:59 -08:00
Sebastian Kemper
92f095b21c libzip: fix musl-fts failure
musl doesn't support fts. But with the extra package musl-fts installed,
libzip picks up the fts header and fails at the linking stage:

zipcmp.c:(.text.startup+0x130): undefined reference to `fts_open'
/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: zipcmp.c:(.text.startup+0x172): undefined reference to `fts_read'

So with musl-fts we need to link in libfts. To address that this commits
patches the cmake setup to check if fts is available in libc itself or
in any external libfts.

So when musl-fts is installed on the system the setup will be the
following:

musl: use libfts
uclibc: use fts from libc
glibc: like uclibc

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 0c381f7c7a)
2021-01-15 13:43:59 -08:00
Michael Heimpold
a0d9d76b23 libzip: add package
This introduces libzip which is e.g. a dependency for upcoming upgrade
of PHP to version 7.4.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit a4a98d5efe)
2021-01-15 13:43:59 -08:00