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 3003

Summary: SDL fails to compile on Raspberry when disable-video-opengl
Product: SDL Reporter: Simon Lopez <simon.lopez>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: 2.0.3Keywords: target-2.0.4
Hardware: ARM   
OS: Linux   
Attachments: Patch fixing the issue
Patch fixing the issue

Description Simon Lopez 2015-06-05 11:41:59 UTC
Created attachment 2170 [details]
Patch fixing the issue

When compiling with disable-video-opengl option on raspberry causes compilation failure at line 291 of src/video/raspberry/SDL_rpivideo.c because of unknown symbol.

Find attached patch that fixes the issue.
Comment 1 Simon Lopez 2015-06-05 11:50:47 UTC
Created attachment 2171 [details]
Patch fixing the issue

data is not needed when there is no opengl support
Comment 2 Ryan C. Gordon 2015-06-07 02:45:49 UTC
Something like this patch is now https://hg.libsdl.org/SDL/rev/0a329b2a297f, thanks!

--ryan.