Summary: | vdpau-driver fails to build on musl libc | ||
---|---|---|---|
Product: | libva | Reporter: | Anthony G. Basile <blueness> |
Component: | vdpau | Assignee: | Gwenole Beauchesne <gb.devel> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | 0001-src-utils.c-add-missing-sys-time.h-fixes-build-on-mu.patch |
Downstream bug at https://bugs.gentoo.org/show_bug.cgi?id=584352 ping ping Hi Anthony, Gwenole is not maintaining the project anymore, but nobody is doing it anymore. I don't know who has commit permissions to the project. IMO we should remove all the non-intel drivers in here (vdpau, radeon, etc.) and collaborate with the va gallium drivers in mesa. |
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.
Created attachment 124158 [details] 0001-src-utils.c-add-missing-sys-time.h-fixes-build-on-mu.patch src/utils.c defines a "struct timeval", but does not include <sys/time.h> as required by POSIX [1]. This is okay with glibc because of how the headers stack, but not with other libcs, like musl. It leads to a compile time error. This is easily fixed with --- src/util.c.orig 2016-05-27 18:23:49.830943995 +0000 +++ src/utils.c 2016-05-27 18:23:39.534238312 +0000 @@ -21,6 +21,7 @@ #include "sysdeps.h" #include "utils.h" #include <time.h> +#include <sys/time.h> #include <errno.h> #define DEBUG 1 Patch attached.