We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5057 - Build of kmsdrm fails without EGL
Summary: Build of kmsdrm fails without EGL
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.12
Hardware: All Linux
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 19:15 UTC by Fabrice Fontaine
Modified: 2020-03-25 16:39 UTC (History)
0 users

See Also:


Attachments
Patch (1.56 KB, patch)
2020-03-24 19:15 UTC, Fabrice Fontaine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabrice Fontaine 2020-03-24 19:15:21 UTC
Created attachment 4278 [details]
Patch

Build is broken without EGL since version 2.0.12 and
https://hg.libsdl.org/SDL/rev/9761858bd6a3:

/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c: In function 'KMSDRM_CreateSurfaces':
/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c:394:5: error: unknown type name 'EGLContext'
     EGLContext egl_context;
     ^

Fixes:
 - http://autobuild.buildroot.org/results/fafd20a01591032662f9ca025fcea3478239cf3c
Comment 1 Sam Lantinga 2020-03-25 16:39:14 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/389ce8cfa2a3