From f6e294f131934ff4c37a230405d4fe49e9c4447a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 19 Oct 2018 13:56:32 -0300 Subject: [PATCH] libva-vdpau-driver: fix build with aarch64-musl --- .../patches/fix-aarch64-musl.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch diff --git a/srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch b/srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch new file mode 100644 index 00000000000..60cf9cfc8bb --- /dev/null +++ b/srcpkgs/libva-vdpau-driver/patches/fix-aarch64-musl.patch @@ -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 ++#include + #include + + #define DEBUG 1 +