summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-01-20 19:15:03 +0000
committerSam James <sam@gentoo.org>2024-01-21 08:56:12 +0000
commit8b689bd38f6c9eb3b0a82befb954e954808ac5fe (patch)
treee23e4a30c927b10af73a330239e7cb30fedaa3d9 /media-libs/mlt
parentx11-libs/wxGTK: fix ld.lld errors: version script assignment failed: symbol n... (diff)
downloadgentoo-8b689bd38f6c9eb3b0a82befb954e954808ac5fe.tar.gz
gentoo-8b689bd38f6c9eb3b0a82befb954e954808ac5fe.tar.bz2
gentoo-8b689bd38f6c9eb3b0a82befb954e954808ac5fe.zip
media-libs/mlt: fix ld.lld errors: version script assignment failed: symbol not defined
ld.lld 17 fix, similar to https://github.com/gentoo/gentoo/pull/34595 Closes: https://bugs.gentoo.org/919981 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34925 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/mlt')
-rw-r--r--media-libs/mlt/mlt-7.22.0-r1.ebuild5
-rw-r--r--media-libs/mlt/mlt-7.22.0.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/mlt/mlt-7.22.0-r1.ebuild b/media-libs/mlt/mlt-7.22.0-r1.ebuild
index 586827098f4a..79bf96647501 100644
--- a/media-libs/mlt/mlt-7.22.0-r1.ebuild
+++ b/media-libs/mlt/mlt-7.22.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit python-single-r1 cmake
+inherit python-single-r1 cmake flag-o-matic
DESCRIPTION="Open source multimedia framework for television broadcasting"
HOMEPAGE="https://www.mltframework.org/"
@@ -110,6 +110,9 @@ src_prepare() {
}
src_configure() {
+ # Workaround for bug #919981
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DCLANG_FORMAT=OFF
diff --git a/media-libs/mlt/mlt-7.22.0.ebuild b/media-libs/mlt/mlt-7.22.0.ebuild
index 6bc6f3332520..f58938a24550 100644
--- a/media-libs/mlt/mlt-7.22.0.ebuild
+++ b/media-libs/mlt/mlt-7.22.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit python-single-r1 cmake
+inherit python-single-r1 cmake flag-o-matic
DESCRIPTION="Open source multimedia framework for television broadcasting"
HOMEPAGE="https://www.mltframework.org/"
@@ -103,6 +103,9 @@ src_prepare() {
}
src_configure() {
+ # Workaround for bug #919981
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DCLANG_FORMAT=OFF