Fix riscv64 build

Resolves: RHEL-149796

Thanks: Songsong Zhang <U2FsdGVkX1@gmail.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani 2026-02-15 22:39:33 +01:00
parent dc87eb4cc7
commit 9879b9d52a
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,24 @@
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 c0c24c2..68bfa00 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",
--
2.53.0

View File

@ -1,12 +1,15 @@
Summary: epoxy runtime library
Name: libepoxy
Version: 1.5.10
Release: 9%{?dist}
Release: 10%{?dist}
# SPDX
License: MIT
URL: https://github.com/anholt/libepoxy
Source0: https://download.gnome.org/sources/%{name}/1.5/%{name}-%{version}.tar.xz
# https://github.com/anholt/libepoxy/pull/270
Patch0001: 0001-test-Fix-dlwrap-on-riscv64.patch
BuildRequires: meson
BuildRequires: gcc
BuildRequires: pkgconfig(gl)
@ -58,6 +61,10 @@ xwfb-run -c mutter -- ninja -C %{_vpath_builddir} test || \
%{_libdir}/pkgconfig/epoxy.pc
%changelog
* Sun Feb 15 2026 Andrea Bolognani <abologna@redhat.com> - 1.5.10-10
- Fix riscv64 build
Resolves: RHEL-149796
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.5.10-9
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018