logrotate: enable selinux support
[buildroot-gz.git] / package / weston / 0004-libweston-include-weston-egl-ext.h-in-drm-x11-and-wa.patch
blob9012f5f31f3097398c9ff01aba41bcfa539e1688
1 From c950667e87dc175bd2741a51460ebd3e29a57c92 Mon Sep 17 00:00:00 2001
2 From: Vincent Abriou <vincent.abriou@st.com>
3 Date: Wed, 5 Oct 2016 16:14:07 +0200
4 Subject: [PATCH] libweston: include weston-egl-ext.h in drm, x11 and wayland
5 compositor
7 As to what is done for gl-renderer.c, weston-egl-ext.h should be
8 include in compositor-drm.c, compositor-x11.c and compositor-wayland.c.
9 This fix building issue with GPU that does not have EGL_PLATFORM_xxx_KHR
10 in their extension header file eglext.h.
12 Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
13 Reviewed-by: Daniel Stone <daniels@collabora.com>
14 ---
15 libweston/compositor-drm.c | 1 +
16 libweston/compositor-wayland.c | 1 +
17 libweston/compositor-x11.c | 1 +
18 3 files changed, 3 insertions(+)
20 diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
21 index 567240f..f61e3d9 100644
22 --- a/libweston/compositor-drm.c
23 +++ b/libweston/compositor-drm.c
24 @@ -52,6 +52,7 @@
25 #include "shared/helpers.h"
26 #include "shared/timespec-util.h"
27 #include "gl-renderer.h"
28 +#include "weston-egl-ext.h"
29 #include "pixman-renderer.h"
30 #include "libbacklight.h"
31 #include "libinput-seat.h"
32 diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c
33 index 580c7b5..46fdde1 100644
34 --- a/libweston/compositor-wayland.c
35 +++ b/libweston/compositor-wayland.c
36 @@ -44,6 +44,7 @@
37 #include "compositor.h"
38 #include "compositor-wayland.h"
39 #include "gl-renderer.h"
40 +#include "weston-egl-ext.h"
41 #include "pixman-renderer.h"
42 #include "shared/helpers.h"
43 #include "shared/image-loader.h"
44 diff --git a/libweston/compositor-x11.c b/libweston/compositor-x11.c
45 index dadcd10..1c6de08 100644
46 --- a/libweston/compositor-x11.c
47 +++ b/libweston/compositor-x11.c
48 @@ -56,6 +56,7 @@
49 #include "shared/helpers.h"
50 #include "shared/image-loader.h"
51 #include "gl-renderer.h"
52 +#include "weston-egl-ext.h"
53 #include "pixman-renderer.h"
54 #include "presentation-time-server-protocol.h"
55 #include "linux-dmabuf.h"
56 --
57 2.7.4