mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02: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);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
+#ifndef EGL_KHR_stream
|
+#ifndef EGL_KHR_uint64_typedef
|
||||||
+#define EGL_KHR_stream 1
|
+#define EGL_KHR_uint64_typedef 1
|
||||||
+typedef khronos_uint64_t EGLuint64KHR;
|
+typedef khronos_uint64_t EGLuint64KHR;
|
||||||
+#endif /* EGL_KHR_stream */
|
+#endif /* EGL_KHR_uint64_typedef */
|
||||||
|
|
||||||
#ifndef EGL_WL_bind_wayland_display
|
#ifndef EGL_WL_bind_wayland_display
|
||||||
#define EGL_WL_bind_wayland_display 1
|
#define EGL_WL_bind_wayland_display 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user