https://bugs.freedesktop.org/show_bug.cgi?id=93764
Bug ID: 93764 Summary: [PATCH] Fix building on musl-libc Product: DRI Version: DRI git Hardware: All OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: libdrm Assignee: dri-devel@lists.freedesktop.org Reporter: somasis@exherbo.org
Created attachment 121121 --> https://bugs.freedesktop.org/attachment.cgi?id=121121&action=edit 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.
https://bugs.freedesktop.org/show_bug.cgi?id=93764
--- Comment #1 from Emil Velikov emil.l.velikov@gmail.com --- 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
https://bugs.freedesktop.org/show_bug.cgi?id=93764
--- Comment #2 from Kylie McClain somasis@exherbo.org --- I've sent them to dri-devel and modified them to address your comments.
https://bugs.freedesktop.org/show_bug.cgi?id=93764
Emil Velikov emil.l.velikov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Emil Velikov emil.l.velikov@gmail.com --- All the fixes should be in master now. Thanks again and let us know if we ever goof up on the musl front :-)
dri-devel@lists.freedesktop.org