commit: fadd2b024cb8e81f8fcf841dc5d260c180da4af7 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Jan 24 10:48:43 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jan 24 10:48:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadd2b02
media-libs/mesa: add LLD 17 workaround This was fixed upstream in master but not for 23.3. Closes: https://bugs.gentoo.org/914905 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/mesa/mesa-23.1.8.ebuild | 5 ++++- media-libs/mesa/mesa-23.1.9.ebuild | 5 ++++- media-libs/mesa/mesa-23.2.1.ebuild | 5 ++++- media-libs/mesa/mesa-23.3.0.ebuild | 5 ++++- media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild | 5 ++++- media-libs/mesa/mesa-23.3.1.ebuild | 5 ++++- media-libs/mesa/mesa-23.3.2.ebuild | 5 ++++- media-libs/mesa/mesa-23.3.3.ebuild | 5 ++++- 8 files changed, 32 insertions(+), 8 deletions(-) diff --git a/media-libs/mesa/mesa-23.1.8.ebuild b/media-libs/mesa/mesa-23.1.8.ebuild index 560736a0b1ec..ce529ff6c238 100644 --- a/media-libs/mesa/mesa-23.1.8.ebuild +++ b/media-libs/mesa/mesa-23.1.8.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -414,6 +414,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.1.9.ebuild b/media-libs/mesa/mesa-23.1.9.ebuild index 62c41be4b4a7..c87b81ad5ef7 100644 --- a/media-libs/mesa/mesa-23.1.9.ebuild +++ b/media-libs/mesa/mesa-23.1.9.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -421,6 +421,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.2.1.ebuild b/media-libs/mesa/mesa-23.2.1.ebuild index 870f9c7bb797..8c5c1dd2d7fb 100644 --- a/media-libs/mesa/mesa-23.2.1.ebuild +++ b/media-libs/mesa/mesa-23.2.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -419,6 +419,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.3.0.ebuild b/media-libs/mesa/mesa-23.3.0.ebuild index d1680c5b7dd7..99b45b540f6c 100644 --- a/media-libs/mesa/mesa-23.3.0.ebuild +++ b/media-libs/mesa/mesa-23.3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -396,6 +396,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild index d1680c5b7dd7..99b45b540f6c 100644 --- a/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild +++ b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -396,6 +396,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.3.1.ebuild b/media-libs/mesa/mesa-23.3.1.ebuild index 05661fcb0272..0ca8822bb7ba 100644 --- a/media-libs/mesa/mesa-23.3.1.ebuild +++ b/media-libs/mesa/mesa-23.3.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -400,6 +400,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.3.2.ebuild b/media-libs/mesa/mesa-23.3.2.ebuild index 6f6fd277f628..015ace3a31c5 100644 --- a/media-libs/mesa/mesa-23.3.2.ebuild +++ b/media-libs/mesa/mesa-23.3.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -396,6 +396,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) diff --git a/media-libs/mesa/mesa-23.3.3.ebuild b/media-libs/mesa/mesa-23.3.3.ebuild index 7add5959b1cb..2bae83923825 100644 --- a/media-libs/mesa/mesa-23.3.3.ebuild +++ b/media-libs/mesa/mesa-23.3.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm meson-multilib python-any-r1 linux-info +inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info MY_P="${P/_/-}" @@ -401,6 +401,9 @@ multilib_src_configure() { emesonargs+=(-Dintel-clc=disabled) fi + # Workaround for bug #914905, can drop w/ > 23.3 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled)