mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
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 <hhromic@gmail.com>
This commit is contained in:
parent
b2da4618b0
commit
71a040dc11
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user