Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510090

Summary: >=media-libs/libsdl2-2.0.2-r1 USE="wayland -gles" - .../work/SDL2-2.0.2/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
Product: Gentoo Linux Reporter: meven.mognol
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: hsggebhardt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.libsdl.org/show_bug.cgi?id=2541
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description meven.mognol 2014-05-11 18:55:30 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 00:24:12 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 meven.mognol 2014-05-12 13:15:27 UTC
Created attachment 376782 [details]
emerge --info
Comment 3 meven.mognol 2014-05-12 13:19:18 UTC
Created attachment 376784 [details]
build log
Comment 4 Julian Ospald 2014-05-12 15:30:29 UTC
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.
Comment 5 Julian Ospald 2014-05-13 23:01:18 UTC
fixed in media-libs/libsdl2-2.0.2-r1 and media-libs/libsdl2-2.0.3