From f6bf5d9391e494418d1d3e894d9bd92338be9f97 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 10 Mar 2024 15:27:42 -0400 Subject: x11-libs/libdrm: Fix symbol check unit tests Closes: https://bugs.gentoo.org/925550 Signed-off-by: Matt Turner --- x11-libs/libdrm/libdrm-2.4.120.ebuild | 6 ++++++ x11-libs/libdrm/libdrm-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'x11-libs/libdrm') diff --git a/x11-libs/libdrm/libdrm-2.4.120.ebuild b/x11-libs/libdrm/libdrm-2.4.120.ebuild index e6429116bdf1..0189f73ab6cb 100644 --- a/x11-libs/libdrm/libdrm-2.4.120.ebuild +++ b/x11-libs/libdrm/libdrm-2.4.120.ebuild @@ -46,6 +46,12 @@ python_check_deps() { python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" } +src_prepare() { + default + sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ + symbols-check.py || die # bug #925550 +} + multilib_src_configure() { local emesonargs=( $(meson_use udev) diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild index 8fe6b8f16d0d..aaedf84080c4 100644 --- a/x11-libs/libdrm/libdrm-9999.ebuild +++ b/x11-libs/libdrm/libdrm-9999.ebuild @@ -46,6 +46,12 @@ python_check_deps() { python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" } +src_prepare() { + default + sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ + symbols-check.py || die # bug #925550 +} + multilib_src_configure() { local emesonargs=( $(meson_use udev) -- cgit v1.2.3-65-gdbad