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 1393

Summary: Debian patch: Support for FreeBSD kernel (Debian's version)
Product: SDL Reporter: manuel.montezelo
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.15   
Hardware: Other   
OS: FreeBSD   
Attachments: kfreebsd_gnu.diff

Description manuel.montezelo 2012-01-22 11:15:01 UTC
Created attachment 796 [details]
kfreebsd_gnu.diff

Hello,

I'm attaching the patch that it's used to support Debian kFreeBSD.  The differences in defined macros probably has to do because Debian does use GNU toolchain with FreeBSD kernel, instead of FreeBSD's libc library and so on (so __FreeBSD_kernel__ is defined but __FREEBSD__ is not).

Maybe you don't want to overcomplicate things including it, but anyway, it's just a suggestion :-)

Regards.
Comment 1 Sam Lantinga 2012-01-22 11:24:27 UTC
FreeBSD_kernel support is already in SDL 1.2.15