Bug 93764 - [PATCH] Fix building on musl-libc
Summary: [PATCH] Fix building on musl-libc
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: DRI git
Hardware: All Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 21:07 UTC by Kylie McClain
Modified: 2016-01-26 23:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
0001-Fix-building-on-musl-libc.patch (1.59 KB, text/plain)
2016-01-18 21:07 UTC, Kylie McClain
no flags Details

Description Kylie McClain 2016-01-18 21:07:00 UTC
Created attachment 121121 [details]
0001-Fix-building-on-musl-libc.patch

libdrm git master fails to compile due to undefined functions/constants on musl libc. The attached patch fixes it.
Comment 1 Emil Velikov 2016-01-19 08:07:11 UTC
Hi Kylie, can you please send this to the dri-devel ML for review.
I'm afraid that not many people search through bugzilla for patches.

But before that please take a look at my comment [1] about select, and split off the poll change into a separate patch (rewording things alike "use the POSIX# header")

Thanks
P.S. Please CC me on the patches

[1] http://lists.freedesktop.org/archives/dri-devel/2016-January/097833.html
Comment 2 Kylie McClain 2016-01-20 03:35:38 UTC
I've sent them to dri-devel and modified them to address your comments.
Comment 3 Emil Velikov 2016-01-26 23:08:21 UTC
All the fixes should be in master now. Thanks again and let us know if we ever goof up on the musl front :-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.