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 - Debian patch: GNU Hurd support
Summary: Debian patch: GNU Hurd support
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 11:58 UTC by manuel.montezelo
Modified: 2012-01-20 16:08 UTC (History)
0 users

See Also:


Attachments
02_hurd.patch (1.51 KB, patch)
2012-01-20 12:07 UTC, manuel.montezelo
Details | Diff

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