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 3176

Summary: Build fix for NetBSD
Product: SDL Reporter: Thomas Klausner <tk>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2 CC: philipp.wiesemann
Version: HG 2.0   
Hardware: All   
OS: NetBSD   
Attachments: Patch fixing the problem.

Description Thomas Klausner 2015-11-13 14:09:51 UTC
Created attachment 2298 [details]
Patch fixing the problem.

There are two problems that break compilation of hg head on NetBSD completely:

* SDL_cpuinfo has no case for NetBSD.

* pthread_setname_np on NetBSD has three arguments (format string as second one)

The attached patch fixes both problems and lets 'gmake' succeed on NetBSD-7.99.21/amd64.

(Feature patches will follow separately.)
Comment 1 Ryan C. Gordon 2015-12-29 07:33:25 UTC
This patch is now https://hg.libsdl.org/SDL/rev/d64783aac765, thanks!

--ryan.