commit:     bad49476161c54852684d6e6cf84af716b2dfcb9
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Sun Jan 11 11:11:09 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 11:20:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad49476

dev-libs/libmateweather: fix faulty disable behavior in configure

Thank you Sam James <sam <AT> gentoo.org> for the provided patch.

Bug: https://bugs.gentoo.org/968600
Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Part-of: https://github.com/gentoo/gentoo/pull/45331
Closes: https://github.com/gentoo/gentoo/pull/45331
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...bmateweather-1.28.1-fix_disable_configure.patch | 37 ++++++++++++++++++++++
 ...1-r1.ebuild => libmateweather-1.28.1-r2.ebuild} |  1 +
 2 files changed, 38 insertions(+)

diff --git 
a/dev-libs/libmateweather/files/libmateweather-1.28.1-fix_disable_configure.patch
 
b/dev-libs/libmateweather/files/libmateweather-1.28.1-fix_disable_configure.patch
new file mode 100644
index 000000000000..e7e3ec365ae2
--- /dev/null
+++ 
b/dev-libs/libmateweather/files/libmateweather-1.28.1-fix_disable_configure.patch
@@ -0,0 +1,37 @@
+From 364ca1d1cd7c61c0381574435f3c193a74db4056 Mon Sep 17 00:00:00 2001
+From: Thibaud CANALE <[email protected]>
+Date: Sun, 11 Jan 2026 11:45:54 +0100
+Subject: [PATCH] configure: fix faulty disable behavior
+
+Original author: Sam James from Gentoo.
+
+Bugs: https://bugs.gentoo.org/968600
+Signed-off-by: Thibaud CANALE <[email protected]>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 777b9bdb..9d7de3b4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -41,14 +41,14 @@ GLIB_GSETTINGS
+ AC_ARG_ENABLE(all-translations-in-one-xml,
+         [AS_HELP_STRING([--enable-all-translations-in-one-xml],
+                         [Put all translations in a big Locations.xml file 
(slow to parse)])],
+-        [enable_big_xml=yes],
++        [enable_big_xml=$enableval],
+         [enable_big_xml=no])
+ AM_CONDITIONAL(USE_ONE_BIG_XML, test "x$enable_big_xml" = "xyes")
+ 
+ AC_ARG_ENABLE(locations-compression,
+         [AS_HELP_STRING([--enable-locations-compression],
+                         [Compress Locations.xml files])],
+-        [enable_locations_compression=yes],
++        [enable_locations_compression=$enableval],
+         [enable_locations_compression=no])
+ if test "x$enable_locations_compression" = "xyes"; then
+     COMPRESS_EXT=.gz
+-- 
+2.52.0
+

diff --git a/dev-libs/libmateweather/libmateweather-1.28.1-r1.ebuild 
b/dev-libs/libmateweather/libmateweather-1.28.1-r2.ebuild
similarity index 96%
rename from dev-libs/libmateweather/libmateweather-1.28.1-r1.ebuild
rename to dev-libs/libmateweather/libmateweather-1.28.1-r2.ebuild
index 26dba2864390..a3438c1b788e 100644
--- a/dev-libs/libmateweather/libmateweather-1.28.1-r1.ebuild
+++ b/dev-libs/libmateweather/libmateweather-1.28.1-r2.ebuild
@@ -46,6 +46,7 @@ BDEPEND="
 "
 
 PATCHES=(
+       "${FILESDIR}"/${P}-fix_disable_configure.patch
        "${FILESDIR}"/${P}-libsoup3.patch
        "${FILESDIR}"/${P}-location.patch # in upstream’s branch 1.28, not in 
tag yet
        "${FILESDIR}"/${P}-SPECI_report_data.patch

Reply via email to