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 2168

Summary: [Patch] Mac: SDL_filesystem.h not exported to public header folder when building framework
Product: SDL Reporter: Alex Szpakowski <amaranth72>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Mac OS X 10.8   
Attachments: Patch to add SDL_filesystem.h to the framework's public header folder.
Fixed patch

Description Alex Szpakowski 2013-10-21 05:36:54 UTC
Created attachment 1384 [details]
Patch to add SDL_filesystem.h to the framework's public header folder.

When compiling SDL as a framework using the Xcode project, SDL_filesystem.h isn't put in the framework's Headers folder with the rest of the public header files.

This results in compile errors in code which includes SDL.h, since SDL.h tries to include the missing SDL_filesystem.h.

I've attached a patch which fixes the issue.
Comment 1 Sam Lantinga 2013-10-21 09:21:04 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/ff9f1a1ed2dd
Comment 2 Alex Szpakowski 2013-10-21 09:42:09 UTC
Created attachment 1386 [details]
Fixed patch

I actually made a mistake when creating the previous patch file... I forgot to include a crucial line which changed.

I've attached a new patch which just changes the line I forgot, since the other part has already been applied to the repository.
I tested this one by doing a clean rebuild of SDL, and it works with the new patch.

Sorry about that!
Comment 3 Sam Lantinga 2013-10-21 09:46:36 UTC
Applied, thanks!
http://hg.libsdl.org/SDL/rev/4bb403bb0c06