From f240fc322b74c64cc121e02a6e26dea35488303e Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Dec 16 2019 22:25:45 +0000 Subject: Add patch to add missing mesa includes --- diff --git a/add_missing_includes.patch b/add_missing_includes.patch new file mode 100644 index 0000000..db21ba8 --- /dev/null +++ b/add_missing_includes.patch @@ -0,0 +1,25 @@ +From 1f0230f5c41722d8ec0df2828e97188ffd0a11eb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20M=C3=B6ller?= +Date: Wed, 27 Nov 2019 12:28:14 +0100 +Subject: [PATCH] Add eglmesaext.h include in wayland-eglsurface.c + +eglmesaext.h was previously included via eglext.h but mesa stopped providing GLVND headers in [1]. +Without eglmesaext.h EGL_WAYLAND_Y_INVERTED_WL is not defined. + +[1]: https://gitlab.freedesktop.org/mesa/mesa/commit/8355658fa857536d948773b361c5ede770e637a3 +--- + src/wayland-eglsurface.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/wayland-eglsurface.c b/src/wayland-eglsurface.c +index 01c9cb3..45736b0 100644 +--- a/src/wayland-eglsurface.c ++++ b/src/wayland-eglsurface.c +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + + #define WL_EGL_WINDOW_DESTROY_CALLBACK_SINCE 3 + diff --git a/egl-wayland.spec b/egl-wayland.spec index 6b3187b..334d0bf 100644 --- a/egl-wayland.spec +++ b/egl-wayland.spec @@ -1,12 +1,13 @@ Name: egl-wayland Version: 1.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Wayland EGL External Platform library License: MIT URL: https://github.com/NVIDIA/%{name} Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz Source1: 10_nvidia_wayland.json +Patch0: %url/pull/24.patch#/add_missing_includes.patch BuildRequires: meson BuildRequires: libtool @@ -61,6 +62,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_datadir}/wayland-eglstream/ %changelog +* Mon Dec 16 2019 Leigh Scott - 1.1.4-2 +- Add patch to add missing mesa includes + * Sun Sep 15 2019 Leigh Scott - 1.1.4-1 - Update to 1.1.4