Commit graph

6 commits

Author SHA1 Message Date
Michael Heimpold
94e60a352f libzip: update to 1.9.2
Also drop already mainlined patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-06 21:06:24 +02:00
Rosen Penev
4084252cbd libzip: fix compilation without SSL
Linker error. No idea why.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-05 21:00:04 -07:00
Michael Heimpold
20c884bbd5 libzip: fix typo in patch (fixes #15992)
This prevented expansion of libdir in pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-02 23:59:53 +02:00
Michael Heimpold
851c7a1e0a libzip: fix pkgconfig paths (fixes #15943)
We should use upstream patch here, which can be removed later,
instead of maintaining our own one.

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-29 07:47:51 +02:00
Michael Heimpold
3b622a612c libzip: update to 1.6.0
Also remove upstreamed patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-02-02 00:00:16 +01:00
Sebastian Kemper
0c381f7c7a 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>
2019-12-16 23:33:32 +01:00