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 1386

Summary: Debian patch: GNU Hurd support
Product: SDL_mixer Reporter: manuel.montezelo
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: Other   
OS: Other   
Attachments: 02_hurd.patch

Description manuel.montezelo 2012-01-20 11:58:21 UTC
Debian contains the following patch since May 2007 to support GNU Hurd.  I don't know if it's been reported to upstream and I am doing it now in the case that you want to incorporate support for this kernel.

PATH_MAX is defined on most Unix systems, it's 4096 for Linux, but GNU Hurd does not support it.  Anyway, strdup() seems like a nice way to perform the operation, so if it's supported by all the platforms maybe you want to incorporate this patch.
Comment 1 manuel.montezelo 2012-01-20 12:07:52 UTC
Created attachment 787 [details]
02_hurd.patch
Comment 2 Sam Lantinga 2012-01-20 16:08:03 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL_mixer/rev/23d69b6621d0