package/mesa3d: Add xcb-fixes to loader when using x11 and dri3
authorRomain Naour <romain.naour@gmail.com>
Sun, 8 Nov 2020 17:51:05 +0000 (18:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 Nov 2020 10:57:57 +0000 (11:57 +0100)
commit091e2aec683f2a28b3ef5f9014455b56167dc42b
tree3f3a1cb46521803335d4897be55185fa45e6b5b5
parent083dbf4cca7fd032ad07f3bde97422134b4e0b86
package/mesa3d: Add xcb-fixes to loader when using x11 and dri3

"loader_dr3_helper.c uses xcb_xfixes_create_region() that requires dep_xcb_xfixes to link.
This is dependent on with_platform_x11 and with_dri3.
But the source meson file does not set this up dependent on with_dri3."

i686-buildroot-linux-gnu/bin/ld: src/loader/libloader_dri3_helper.a(loader_dri3_helper.c.o): in function `loader_dri3_swap_buffers_msc':
loader_dri3_helper.c:(.text.loader_dri3_swap_buffers_msc+0x33e): undefined reference to `xcb_xfixes_create_region'

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/830981830

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mesa3d/0005-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch [new file with mode: 0644]