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 3840

Summary: [PATCH] Fix compilation of directfb component
Product: SDL Reporter: Clayton Craft <clayton>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.5   
Hardware: x86_64   
OS: Linux   
Attachments: separate declarations from statements patch for directfb

Description Clayton Craft 2017-09-22 00:03:27 UTC
Created attachment 2956 [details]
separate declarations from statements patch for directfb

The attached patch fixes compilation of the directfb feature in sdl2, which currently fails due to a C90 violation relating to mixing declarations and statements.
Comment 1 Sam Lantinga 2017-09-22 01:57:40 UTC
This is fixed for SDL 2.0.6.