commit: b992d922dfc15e6d8757c23fb8c0093f70bc3f54 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Dec 15 12:03:54 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 15 12:05:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b992d922
dev-libs/glib: disable new assertions by default As reported in the bug and per upstream commit b02e29558fca8053fcb811fbf5691c09a876bb5a, -Dglib_debug is default-enabled in >=2.80 but they recommend distros default it to off, so let's do that. Closes: https://bugs.gentoo.org/946485 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/glib/{glib-2.82.4.ebuild => glib-2.82.4-r1.ebuild} | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-libs/glib/glib-2.82.4.ebuild b/dev-libs/glib/glib-2.82.4-r1.ebuild similarity index 99% rename from dev-libs/glib/glib-2.82.4.ebuild rename to dev-libs/glib/glib-2.82.4-r1.ebuild index 533b2a2ae85d..ac8c41e59cfb 100644 --- a/dev-libs/glib/glib-2.82.4.ebuild +++ b/dev-libs/glib/glib-2.82.4-r1.ebuild @@ -287,11 +287,13 @@ multilib_src_configure() { export PYTHONPATH="${INTROSPECTION_LIB_DIR}/gobject-introspection:${PYTHONPATH}" fi + # TODO: Can this be cleaned up now we have -Dglib_debug? (bug #946485) use debug && EMESON_BUILD_TYPE=debug local emesonargs=( -Ddefault_library=$(usex static-libs both shared) -Druntime_dir="${EPREFIX}"/run + $(meson_feature debug glib_debug) $(meson_feature selinux) $(meson_use xattr) -Dlibmount=enabled # only used if host_system == 'linux'
