void-packages/srcpkgs/mutter/patches/fix-cogl-egl-includes.patch
Jürgen Buchmüller 6c0edabf17 mutter: fix build
The shipped cogl needs to include EGL/eglmesaext.h in addition to
EGL/egl.h and EGL/eglext.h to define EGL_WAYLAND_BUFFER_WL.
2019-12-16 15:54:07 +01:00

11 lines
425 B
Diff

--- cogl/cogl/meson.build 2019-10-08 19:15:10.000000000 +0200
+++ cogl/cogl/meson.build 2019-12-16 15:45:44.037640548 +0100
@@ -48,7 +48,7 @@
built_headers += [cogl_gl_header_h]
if have_egl
- cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>'
+ cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>\n#include <EGL/eglmesaext.h>'
else
cogl_egl_includes_string = ''
endif