commit:     de055fb76935eb7f582675dbb519b44d17800509
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Jul  4 13:08:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 21:31:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de055fb7

dev-libs/libxml2: build with legacy stubs to avoid ABI breakage

Bug: https://bugs.gentoo.org/935452
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37427
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libxml2/libxml2-2.13.4.ebuild | 1 +
 dev-libs/libxml2/libxml2-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/libxml2/libxml2-2.13.4.ebuild 
b/dev-libs/libxml2/libxml2-2.13.4.ebuild
index b5101bc4bd7a..e27b1966092f 100644
--- a/dev-libs/libxml2/libxml2-2.13.4.ebuild
+++ b/dev-libs/libxml2/libxml2-2.13.4.ebuild
@@ -108,6 +108,7 @@ multilib_src_configure() {
                        $(use_enable static-libs static) \
                        $(multilib_native_use_with readline) \
                        $(multilib_native_use_with readline history) \
+                       --with-legacy \
                        "$@"
        }
 

diff --git a/dev-libs/libxml2/libxml2-9999.ebuild 
b/dev-libs/libxml2/libxml2-9999.ebuild
index 72ad49334241..45b054cf8916 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -106,6 +106,7 @@ multilib_src_configure() {
                        $(use_enable static-libs static) \
                        $(multilib_native_use_with readline) \
                        $(multilib_native_use_with readline history) \
+                       --with-legacy \
                        "$@"
        }
 

Reply via email to