python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / weston / 0002-shared-platform-include-weston-egl-ext.h-only-if-ENA.patch
blobbaa3a4fc844cb470415f7ad0c096645d027d5622
1 From e338ced1e04bf4b97322d5eed2b5bdf5b052095a Mon Sep 17 00:00:00 2001
2 From: Krzysztof Konopko <kris@youview.com>
3 Date: Thu, 15 Sep 2016 13:01:49 +0200
4 Subject: [PATCH] shared/platform: include weston-egl-ext.h only if ENABLE_EGL
5 is defined
7 Including `weston-egl-ext.h` causes compilation failure for configurations
8 with EGL disabled.
10 Verified with `--disable-egl`, `--disable-x11-compositor`
11 and `--disable-drm-compositor`.
13 Signed-off-by: Krzysztof Konopko <kris@youview.com>
14 Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
15 [yann.morin.1998@free.fr: backported from upstream]
16 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
17 ---
18 shared/platform.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/shared/platform.h b/shared/platform.h
22 index 1eb96fd..30db1a6 100644
23 --- a/shared/platform.h
24 +++ b/shared/platform.h
25 @@ -33,9 +33,9 @@
26 #include <wayland-egl.h>
27 #include <EGL/egl.h>
28 #include <EGL/eglext.h>
29 -#endif
31 #include "weston-egl-ext.h"
32 +#endif
34 #ifdef __cplusplus
35 extern "C" {
36 --
37 2.7.4