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 - SDL fails to compile on Raspberry when disable-video-opengl
Summary: SDL fails to compile on Raspberry when disable-video-opengl
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.3
Hardware: ARM Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4
Depends on:
Blocks:
 
Reported: 2015-06-05 11:41 UTC by Simon Lopez
Modified: 2015-06-07 02:45 UTC (History)
1 user (show)

See Also:


Attachments
Patch fixing the issue (853 bytes, patch)
2015-06-05 11:41 UTC, Simon Lopez
Details | Diff
Patch fixing the issue (957 bytes, patch)
2015-06-05 11:50 UTC, Simon Lopez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.