Add patch to add missing mesa includes
This commit is contained in:
parent
96803bbec2
commit
f240fc322b
25
add_missing_includes.patch
Normal file
25
add_missing_includes.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 1f0230f5c41722d8ec0df2828e97188ffd0a11eb Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Fabian=20M=C3=B6ller?= <fabianm88@gmail.com>
|
||||||
|
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 <sys/types.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <EGL/eglmesaext.h>
|
||||||
|
|
||||||
|
#define WL_EGL_WINDOW_DESTROY_CALLBACK_SINCE 3
|
||||||
|
|
@ -1,12 +1,13 @@
|
|||||||
Name: egl-wayland
|
Name: egl-wayland
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Wayland EGL External Platform library
|
Summary: Wayland EGL External Platform library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/NVIDIA/%{name}
|
URL: https://github.com/NVIDIA/%{name}
|
||||||
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: 10_nvidia_wayland.json
|
Source1: 10_nvidia_wayland.json
|
||||||
|
Patch0: %url/pull/24.patch#/add_missing_includes.patch
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -61,6 +62,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_datadir}/wayland-eglstream/
|
%{_datadir}/wayland-eglstream/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 16 2019 Leigh Scott <leigh123linux@gmail.com> - 1.1.4-2
|
||||||
|
- Add patch to add missing mesa includes
|
||||||
|
|
||||||
* Sun Sep 15 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.4-1
|
* Sun Sep 15 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.4-1
|
||||||
- Update to 1.1.4
|
- Update to 1.1.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user