From 9879b9d52a95e1929cf9f2e1a6cb961647229963 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Sun, 15 Feb 2026 22:39:33 +0100 Subject: [PATCH] Fix riscv64 build Resolves: RHEL-149796 Thanks: Songsong Zhang Signed-off-by: Andrea Bolognani --- 0001-test-Fix-dlwrap-on-riscv64.patch | 24 ++++++++++++++++++++++++ libepoxy.spec | 9 ++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 0001-test-Fix-dlwrap-on-riscv64.patch diff --git a/0001-test-Fix-dlwrap-on-riscv64.patch b/0001-test-Fix-dlwrap-on-riscv64.patch new file mode 100644 index 0000000..5005247 --- /dev/null +++ b/0001-test-Fix-dlwrap-on-riscv64.patch @@ -0,0 +1,24 @@ +From 62f9d554ebd95b0c52382a36ce38284e0feed07e Mon Sep 17 00:00:00 2001 +From: Piggy NL +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 + diff --git a/libepoxy.spec b/libepoxy.spec index d6c5602..b81f505 100644 --- a/libepoxy.spec +++ b/libepoxy.spec @@ -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 - 1.5.10-10 +- Fix riscv64 build + Resolves: RHEL-149796 + * Tue Oct 29 2024 Troy Dawson - 1.5.10-9 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018