commit:     a48aaaebaa0d006d70d2ec2ff35126dc703745e4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 03:09:58 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 03:26:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48aaaeb

media-libs/sdl2-mixer: avoid dlopen() usage

Not particularly useful on gentoo, and can cause problems
with some usage wrt bug #950965.

Feel it's not overly worth re-stabilizing over esp. given
previous stable had the same behaviour, so straight-to-stable.
Did try all USE for any glaring issues.

Also do mpg123 -> mpg123-base, this does not need the mpg123
command + output plugins and it actually links with -base now.

Closes: https://bugs.gentoo.org/950965
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../sdl2-mixer/{sdl2-mixer-2.8.1.ebuild => sdl2-mixer-2.8.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/sdl2-mixer/sdl2-mixer-2.8.1.ebuild 
b/media-libs/sdl2-mixer/sdl2-mixer-2.8.1-r1.ebuild
similarity index 95%
rename from media-libs/sdl2-mixer/sdl2-mixer-2.8.1.ebuild
rename to media-libs/sdl2-mixer/sdl2-mixer-2.8.1-r1.ebuild
index 3ecd6fa4c27b..c595799d69a5 100644
--- a/media-libs/sdl2-mixer/sdl2-mixer-2.8.1.ebuild
+++ b/media-libs/sdl2-mixer/sdl2-mixer-2.8.1-r1.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
                modplug? ( media-libs/libmodplug[${MULTILIB_USEDEP}] )
                xmp? ( media-libs/libxmp )
        )
-       mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
+       mp3? ( media-sound/mpg123-base[${MULTILIB_USEDEP}] )
        opus? ( media-libs/opusfile )
        vorbis? (
                stb? ( dev-libs/stb )
@@ -54,6 +54,7 @@ DEPEND="${RDEPEND}"
 
 multilib_src_configure() {
        local mycmakeargs=(
+               -DSDL2MIXER_DEPS_SHARED=no # aka, no dlopen() (bug #950965)
                -DSDL2MIXER_CMD=yes
                -DSDL2MIXER_WAVE=$(usex wav)
                -DSDL2MIXER_MOD=$(usex mod)

Reply via email to