dev-libs/libmateweather: fix incompatibility w/ newer libxml2

Disable location compression until libmateweather learns to invoke
zlib directly rather than relying on (old) libxml2 doing that for them.

Bug: https://github.com/mate-desktop/libmateweather/issues/144
Bug: https://bugs.gentoo.org/965885
Bug: https://bugs.gentoo.org/968600
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-01-11 09:00:56 +00:00
parent d645f45d40
commit 1cb04817f4

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -52,8 +52,11 @@ PATCHES=(
)
src_configure() {
# --disable-locations-compression for https://github.com/mate-desktop/libmateweather/issues/144
# libxml2 dropped support for automatic decompression. If MATE
# switches to invoking zlib themselves, we can bring this back.
mate_src_configure \
--enable-locations-compression \
--disable-locations-compression \
--disable-all-translations-in-one-xml \
--disable-icon-update
}