mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
libva-vdpau-driver: fix build with aarch64-musl
This commit is contained in:
parent
dfadbe49d3
commit
f6e294f131
1 changed files with 17 additions and 0 deletions
17
srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch
Normal file
17
srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
utils.c: In function 'delay_usec':
|
||||||
|
utils.c:108:20: error: storage size of 'tv' isn't known
|
||||||
|
struct timeval tv;
|
||||||
|
^~
|
||||||
|
diff --git a/src/utils.c b/src/utils.c
|
||||||
|
index 1dac15c..3e2fa6a 100644
|
||||||
|
--- src/utils.c
|
||||||
|
+++ src/utils.c
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#include "sysdeps.h"
|
||||||
|
#include "utils.h"
|
||||||
|
#include <time.h>
|
||||||
|
+#include <sys/time.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
#define DEBUG 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue