From 2012ff14642c8162b4583bf4e124d80c5226643b Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 28 Jul 2025 01:38:59 +0300 Subject: [PATCH] dev-libs/libxslt: add USE=debugger Before version 1.1.43 libxslt were built with debugger functionality enabled by default, but since it's barely being used nowadays, it was disabled in upstream. However there is still some legacy software in overlays the depends upon it. See-also: https://gitlab.gnome.org/GNOME/libxslt/-/commit/09b41917dd6fa12f7ca46462622c91bb72343196 Closes: https://bugs.gentoo.org/955057 Signed-off-by: Alexander Golubev Part-of: https://github.com/gentoo/gentoo/pull/43198 Closes: https://github.com/gentoo/gentoo/pull/43198 Signed-off-by: Sam James --- dev-libs/libxslt/libxslt-1.1.43-r1.ebuild | 3 ++- dev-libs/libxslt/libxslt-9999.ebuild | 3 ++- dev-libs/libxslt/metadata.xml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-libs/libxslt/libxslt-1.1.43-r1.ebuild b/dev-libs/libxslt/libxslt-1.1.43-r1.ebuild index a95f91e230878..115c58f76c051 100644 --- a/dev-libs/libxslt/libxslt-1.1.43-r1.ebuild +++ b/dev-libs/libxslt/libxslt-1.1.43-r1.ebuild @@ -20,7 +20,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="crypt debug examples python static-libs" +IUSE="crypt debug debugger examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND=">=virtual/pkgconfig-1" @@ -59,6 +59,7 @@ multilib_src_configure() { --without-python \ $(use_with crypt crypto) \ $(use_with debug) \ + $(use_with debugger) \ $(use_enable static-libs static) \ "$@" } diff --git a/dev-libs/libxslt/libxslt-9999.ebuild b/dev-libs/libxslt/libxslt-9999.ebuild index 4ccb49bd239e1..e7e3c233dfb2a 100644 --- a/dev-libs/libxslt/libxslt-9999.ebuild +++ b/dev-libs/libxslt/libxslt-9999.ebuild @@ -20,7 +20,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="crypt debug examples python static-libs" +IUSE="crypt debug debugger examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND=">=virtual/pkgconfig-1" @@ -59,6 +59,7 @@ multilib_src_configure() { --without-python \ $(use_with crypt crypto) \ $(use_with debug) \ + $(use_with debugger) \ $(use_enable static-libs static) \ "$@" } diff --git a/dev-libs/libxslt/metadata.xml b/dev-libs/libxslt/metadata.xml index e97f0e37509c2..2ce51255defa6 100644 --- a/dev-libs/libxslt/metadata.xml +++ b/dev-libs/libxslt/metadata.xml @@ -13,4 +13,7 @@ cpe:/a:xmlsoft:libxslt GNOME/libxslt + + Build into the library callbacks and associated API for debugging XML processing. +