From e8b4ed78d45203418a8d89df3e63f1970c7f0837 Mon Sep 17 00:00:00 2001 From: yanansong Date: Sat, 28 Oct 2023 07:07:34 +0000 Subject: [PATCH 1/2] export eglext.h Signed-off-by: yanansong --- mesa.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index 6edc09b..59a768d 100644 --- a/mesa.spec +++ b/mesa.spec @@ -51,7 +51,7 @@ Name: mesa Summary: Mesa graphics libraries Version: 21.3.1 -Release: 5 +Release: 6 License: MIT URL: http://www.mesa3d.org @@ -417,6 +417,7 @@ done %dir %{_includedir}/EGL %{_includedir}/EGL/eglmesaext.h %{_includedir}/EGL/eglextchromium.h +%{_includedir}/EGL/eglext.h %post libglapi -p /sbin/ldconfig %postun libglapi -p /sbin/ldconfig @@ -581,6 +582,9 @@ done %endif %changelog +* Tue Oct 28 2023 yanansong - 21.3.1-6 +- export eglext.h + * Tue Oct 17 2023 yanansong - 21.3.1-5 - Add fangtian -- Gitee From 29dcd421b4f9b1ab8a6e0bfac51336b5cef57785 Mon Sep 17 00:00:00 2001 From: yanansong Date: Sat, 28 Oct 2023 17:01:58 +0800 Subject: [PATCH 2/2] export header ext --- export_header_eglext_for_fangtian.patch | 12 ++++++++++++ mesa.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 export_header_eglext_for_fangtian.patch diff --git a/export_header_eglext_for_fangtian.patch b/export_header_eglext_for_fangtian.patch new file mode 100644 index 0000000..f507445 --- /dev/null +++ b/export_header_eglext_for_fangtian.patch @@ -0,0 +1,12 @@ +diff --git a/include/meson.build b/include/meson.build +index d1d5787..4349cac 100644 +--- a/include/meson.build ++++ b/include/meson.build +@@ -92,6 +92,7 @@ if with_egl + install_headers( + 'EGL/eglmesaext.h', + 'EGL/eglextchromium.h', ++ 'EGL/eglext.h', + subdir : 'EGL', + ) + endif diff --git a/mesa.spec b/mesa.spec index 59a768d..fe2fe3d 100644 --- a/mesa.spec +++ b/mesa.spec @@ -60,6 +60,7 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{version}.tar.xz Patch1: backport-fix-build-err-on-arm.patch Patch2: 0001-evergreen-big-endian.patch Patch3: add_fangtian_support.patch +Patch4: export_header_eglext_for_fangtian.patch Patch1000: 1000-add-loongarch-support-not-upstream-modified.patch Patch1001: 1001-add-loongarch-support-not-upstream-new.patch -- Gitee