You need to enable gles to be able to compile libsdl2 with wayland support Reproducible: Always Steps to Reproduce: 1.enable wayland 2.disable gles 3.try to emerge Actual Results: compile fail
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 376782 [details] emerge --info
Created attachment 376784 [details] build log
If we would need both enabled, then the build system shouldn't allow this combination. So this could as well just be a broken codepath.
fixed in media-libs/libsdl2-2.0.2-r1 and media-libs/libsdl2-2.0.3