commit:     9edc1310dec597999bf5fc239f188cad100d89a5
Author:     Michal Rostecki <vadorovsky <AT> disroot <DOT> org>
AuthorDate: Sun Mar 23 21:00:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 15:25:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edc1310

media-sound/sox: Workaround LLD failure

Bug: https://bugs.gentoo.org/914867
Signed-off-by: Michal Rostecki <vadorovsky <AT> disroot.org>
Closes: https://github.com/gentoo/gentoo/pull/41251
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/sox/sox-14.4.2_p20210509-r3.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild 
b/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild
index bc117f2c6b32..65d69cf51d13 100644
--- a/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild
+++ b/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 # We take a snapshot because of the huge number of security
 # and other fixes since the release of 14.4.2.
@@ -83,6 +83,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # Workaround for LLD (bug #914867)
+       append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
        local myeconfargs=(
                $(use_enable alsa)
                $(use_enable amr amrnb)

Reply via email to