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.
This commit is contained in:
parent
15f13ffb70
commit
6c0edabf17
1 changed files with 11 additions and 0 deletions
11
srcpkgs/mutter/patches/fix-cogl-egl-includes.patch
Normal file
11
srcpkgs/mutter/patches/fix-cogl-egl-includes.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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
|
Loading…
Reference in a new issue