Commit graph

2 commits

Author SHA1 Message Date
Peter Simons
736b039b3f libdrm: updated to version 2.4.29
svn path=/nixpkgs/trunk/; revision=31534
2012-01-14 12:09:15 +00:00
Shea Levy
e309c50e7e Get libdrm to compile on darwin
The added patch uses mach_absolute_time() to get a nanosecond-resolution monotonic clock on darwin systems (See http://developer.apple.com/library/mac/#qa/qa1398/_index.html for an understanding of the added code). In addition, the patch changes one use of clock_gettime to gettimeofday since only resolution of a second is needed at that point. This code compiles on darwin, but the resulting library is not yet tested.

svn path=/nixpkgs/trunk/; revision=28879
2011-08-29 18:55:37 +00:00