summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2024-03-10 15:27:42 -0400
committerMatt Turner <mattst88@gentoo.org>2024-03-10 15:50:25 -0400
commitf6bf5d9391e494418d1d3e894d9bd92338be9f97 (patch)
tree911a1487d929ad5db0a220c3a9bb0c6d8504a7a7 /x11-libs/libdrm
parentx11-libs/libdrm: Move LICENSE/SLOT assignments (diff)
downloadgentoo-f6bf5d9391e494418d1d3e894d9bd92338be9f97.tar.gz
gentoo-f6bf5d9391e494418d1d3e894d9bd92338be9f97.tar.bz2
gentoo-f6bf5d9391e494418d1d3e894d9bd92338be9f97.zip
x11-libs/libdrm: Fix symbol check unit tests
Closes: https://bugs.gentoo.org/925550 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/libdrm')
-rw-r--r--x11-libs/libdrm/libdrm-2.4.120.ebuild6
-rw-r--r--x11-libs/libdrm/libdrm-9999.ebuild6
2 files changed, 12 insertions, 0 deletions
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)