File 0001-fix-build-failure-with-Werror-undef.patch of Package cogl
26
1
From da5e0859e15eeb93fa81bd645c93425f6acef0cd Mon Sep 17 00:00:00 2001
2
From: Felix Zhang <fezhang@suse.com>
3
Date: Mon, 29 Aug 2016 15:02:14 +0800
4
Subject: [PATCH] fix build failure with -Werror=undef
5
6
---
7
cogl/winsys/cogl-winsys-egl.c | 2 +-
8
1 file changed, 1 insertion(+), 1 deletion(-)
9
10
diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c
11
index 39bfd88..4a9f3aa 100644
12
--- a/cogl/winsys/cogl-winsys-egl.c
13
+++ b/cogl/winsys/cogl-winsys-egl.c
14
15
egl_ctx = EGL_NO_CONTEXT;
16
else
17
#endif
18
-#if COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
19
+#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
20
/* The WL_bind_wayland_display spec states that EGL_NO_CONTEXT is to be used
21
* in conjunction with the EGL_WAYLAND_BUFFER_WL target */
22
if (target == EGL_WAYLAND_BUFFER_WL)
23
--
24
2.6.6
25
26