toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / mpv / 0002-Fix-build-on-powerpc64-altivec.patch
blob6db911d7cb0e9fbbe212ef1b7d66c1df616e0f72
1 Subject: [PATCH] Work around bool type redefinition by altivec
3 On powerpc64le, the SDL header from SDL2 may include altivec.h and this
4 (combined with -std=c99) will cause a compile failure due to bool being
5 redefined as a vector type.
7 Re-include stdbool.h after SDL.h to restore the normal bool type.
9 Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
10 ---
11 audio/out/ao_sdl.c | 1 +
12 1 file changed, 1 insertion(+)
14 diff --git a/audio/out/ao_sdl.c b/audio/out/ao_sdl.c
15 index d9d0062..0cb80d6 100644
16 --- a/audio/out/ao_sdl.c
17 +++ b/audio/out/ao_sdl.c
18 @@ -29,6 +29,7 @@
19 #include "osdep/timer.h"
21 #include <SDL.h>
22 +#include <stdbool.h>
24 struct priv
26 --
27 2.10.0.297.gf6727b0