diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/files/parallel-make-race-fix.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/files/parallel-make-race-fix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/parallel-make-race-fix.patch b/meta/recipes-graphics/mesa/files/parallel-make-race-fix.patch new file mode 100644 index 0000000000..d212a55cbb --- /dev/null +++ b/meta/recipes-graphics/mesa/files/parallel-make-race-fix.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | There is a parallel make build issue in src/egl/drivers/dri2/ | ||
2 | for wayland builds. Can be reproduced with: | ||
3 | |||
4 | $ rm src/egl/drivers/dri2/*.h src/egl/drivers/dri2/platform_wayland.lo | ||
5 | $ make -C src/egl/ drivers/dri2/platform_wayland.lo | ||
6 | |||
7 | ../../../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 | ||
8 | |||
9 | This patch adds the missing dependency. | ||
10 | |||
11 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
12 | |||
13 | Upstream-Status: Submitted (https://lists.freedesktop.org/archives/mesa-dev/2018-June/198889.html) | ||
14 | |||
15 | Index: mesa-18.1.2/src/egl/Makefile.am | ||
16 | =================================================================== | ||
17 | --- mesa-18.1.2.orig/src/egl/Makefile.am | ||
18 | +++ mesa-18.1.2/src/egl/Makefile.am | ||
19 | @@ -80,6 +80,7 @@ drivers/dri2/linux-dmabuf-unstable-v1-cl | ||
20 | if HAVE_PLATFORM_WAYLAND | ||
21 | drivers/dri2/linux-dmabuf-unstable-v1-protocol.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
22 | drivers/dri2/egl_dri2.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
23 | +drivers/dri2/platform_wayland.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
24 | |||
25 | AM_CFLAGS += $(WAYLAND_CLIENT_CFLAGS) | ||
26 | libEGL_common_la_LIBADD += $(WAYLAND_CLIENT_LIBS) | ||