diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch b/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch new file mode 100644 index 0000000000..f594233206 --- /dev/null +++ b/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From b2aae4b8c6661424c1809d3e7b43f266e35385a6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Thu, 28 Jun 2018 23:01:59 +0100 | ||
4 | Subject: [PATCH 8/8] egl: fix build race in automake | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | There is a parallel make build issue in src/egl/drivers/dri2/ | ||
8 | for wayland builds. Can be reproduced with: | ||
9 | |||
10 | $ rm src/egl/drivers/dri2/*.h src/egl/drivers/dri2/platform_wayland.lo | ||
11 | $ make -C src/egl/ drivers/dri2/platform_wayland.lo | ||
12 | ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:50:10: fatal error: linux-dmabuf-unstable-v1-client-protocol.h: No such file or directory | ||
13 | |||
14 | This patch adds the missing dependency. | ||
15 | |||
16 | Fixes: 02cc359372773800de817 "egl/wayland: Use linux-dmabuf interface for buffers" | ||
17 | Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> | ||
18 | |||
19 | Upstream-Status: Backport [18.2.0] | ||
20 | |||
21 | [Eric: fixed up the commit title] | ||
22 | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> | ||
23 | --- | ||
24 | src/egl/Makefile.am | 1 + | ||
25 | 1 file changed, 1 insertion(+) | ||
26 | |||
27 | diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am | ||
28 | index 086a4a1e63..116ed4ebf5 100644 | ||
29 | --- a/src/egl/Makefile.am | ||
30 | +++ b/src/egl/Makefile.am | ||
31 | @@ -80,6 +80,7 @@ drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h: $(WL_DMABUF_XML) | ||
32 | if HAVE_PLATFORM_WAYLAND | ||
33 | drivers/dri2/linux-dmabuf-unstable-v1-protocol.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
34 | drivers/dri2/egl_dri2.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
35 | +drivers/dri2/platform_wayland.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
36 | |||
37 | AM_CFLAGS += $(WAYLAND_CLIENT_CFLAGS) | ||
38 | libEGL_common_la_LIBADD += $(WAYLAND_CLIENT_LIBS) | ||
39 | -- | ||
40 | 2.18.0 | ||
41 | |||