From 71a040dc118c686119d6b88481b72d64586e7b3c Mon Sep 17 00:00:00 2001 From: Hugo Hromic Date: Mon, 25 Jun 2018 17:30:56 +0100 Subject: userland: fix backport khronos typedef patch The patch in 237e0c7 used a define guard that clashes with an actual feature of Khronos (EGL_KHR_stream). This makes some packages such as `qtbase` to think that the outdated Krhonos in userland has newer features. This fix uses a more specific name for the relevant define guard (EGL_KHR_uint64_typedef). Signed-off-by: Hugo Hromic --- .../0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-graphics') diff --git a/recipes-graphics/userland/userland/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/recipes-graphics/userland/userland/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch index 3048135..fbfdb86 100644 --- a/recipes-graphics/userland/userland/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch +++ b/recipes-graphics/userland/userland/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch @@ -26,10 +26,10 @@ index d7e5ba7..4ce762d 100755 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); #endif -+#ifndef EGL_KHR_stream -+#define EGL_KHR_stream 1 ++#ifndef EGL_KHR_uint64_typedef ++#define EGL_KHR_uint64_typedef 1 +typedef khronos_uint64_t EGLuint64KHR; -+#endif /* EGL_KHR_stream */ ++#endif /* EGL_KHR_uint64_typedef */ #ifndef EGL_WL_bind_wayland_display #define EGL_WL_bind_wayland_display 1 -- cgit v1.2.3-54-g00ecf