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 - Build fix for NetBSD
Summary: Build fix for NetBSD
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All NetBSD
: P2 blocker
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 14:09 UTC by Thomas Klausner
Modified: 2015-12-29 07:33 UTC (History)
1 user (show)

See Also:


Attachments
Patch fixing the problem. (1.06 KB, patch)
2015-11-13 14:09 UTC, Thomas Klausner
Details | Diff

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