diff --git a/export_header_eglext_for_fangtian.patch b/export_header_eglext_for_fangtian.patch new file mode 100644 index 0000000000000000000000000000000000000000..f5074457f5b2f8b7f504eb8c33b6e57e7bb81261 --- /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 6edc09b3f106bb976ff0d262e66abc57032bea7f..fe2fe3deebfc806990e0fc94f5a786170fb4a564 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 @@ -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 @@ -417,6 +418,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 +583,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