media-libs/libepoxy: fix tests on riscv

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-12-05 16:10:39 +00:00
parent 48397b15eb
commit 28bd252b5c
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,24 @@
https://github.com/anholt/libepoxy/commit/62f9d554ebd95b0c52382a36ce38284e0feed07e
From 62f9d554ebd95b0c52382a36ce38284e0feed07e Mon Sep 17 00:00:00 2001
From: Piggy NL <piggynl@outlook.com>
Date: Thu, 7 Apr 2022 16:53:15 +0800
Subject: [PATCH] test: Fix dlwrap on riscv64
---
test/dlwrap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/dlwrap.c b/test/dlwrap.c
index c0c24c21..68bfa005 100644
--- a/test/dlwrap.c
+++ b/test/dlwrap.c
@@ -237,6 +237,7 @@ dlwrap_real_dlsym(void *handle, const char *name)
* In the meantime, I'll just keep augmenting this
* hard-coded version list as people report bugs. */
const char *version[] = {
+ "GLIBC_2.27",
"GLIBC_2.17",
"GLIBC_2.4",
"GLIBC_2.3",

View File

@ -37,7 +37,10 @@ BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}"/libepoxy-1.5.10-libopengl-fallback.patch )
PATCHES=(
"${FILESDIR}"/libepoxy-1.5.10-libopengl-fallback.patch
"${FILESDIR}"/libepoxy-1.5.10-riscv.patch
)
multilib_src_configure() {
local emesonargs=(