[meta-mingw][PATCH] libsdl2: disable gles2 support for class-nativesdk


Markus Volk
 

this fixes:
| Has header "sys/select.h" : NO
| Checking whether type "fd_set" has member "fds_bits" : NO
| Checking whether type "fd_set" has member "__fds_bits" : NO
|
| ../xorgproto-2022.1/include/X11/meson.build:19:4: ERROR: Problem encoun=
tered: Your fd_set is too weird.
|
| A full log can be found at /home/flk/build/poky/build/tmp/work/x86_64-n=
ativesdk-mingw32-w64-mingw32/nativesdk-xorgproto/2022.1-r0/build/meson-lo=
gs/meson-log.txt

Signed-off-by: Markus Volk <f_l_k@...>
---
recipes-graphics/libsdl2/libsdl2_%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphi=
cs/libsdl2/libsdl2_%.bbappend
index 89532d6..4f9cde1 100644
--- a/recipes-graphics/libsdl2/libsdl2_%.bbappend
+++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -1,7 +1,7 @@
# Need to disable X11 explictly as nativesdk-libxdmcp fails:
# .libs/Fill.o:Fill.c:(.text+0x48): undefined reference to `_imp__recvfr=
om@24'
# .libs/Flush.o:Flush.c:(.text+0x36): undefined reference to `_imp__send=
to@24'
-PACKAGECONFIG:remove:mingw32:class-nativesdk =3D "x11 opengl"
+PACKAGECONFIG:remove:mingw32:class-nativesdk =3D "x11 opengl gles2"
=20
# libtool doesn't think it can link windres output (COFF) with libtool o=
bjects
# (COFF) , but it can. This might be because file misidentifies version=
.o:
--=20
2.25.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.