• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/mpv/0002-Fix-build-on-powerpc64-altivec.patch
Sam bobroffSam bobroff committed 64904f0f6d608 Nov 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Subject: [PATCH] Work around bool type redefinition by altivec
2
​
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.
6
​
7
Re-include stdbool.h after SDL.h to restore the normal bool type.
8
​
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(+)
13
​
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"
20
 
21
 #include <SDL.h>
22
+#include <stdbool.h>
23
 
24
 struct priv
25
 {
26
-- 
27
2.10.0.297.gf6727b0
28
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.