diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/pixman/asm_include.patch')
| -rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman/asm_include.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/pixman/asm_include.patch b/meta/recipes-graphics/xorg-lib/pixman/asm_include.patch new file mode 100644 index 0000000000..b52a5707d6 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/pixman/asm_include.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | Fixes errors like | ||
| 2 | |||
| 3 | Assembler messages: | ||
| 4 | Fatal error: can't create .libs/pixman-mips-dspr2-asm.o: No such file or directory | ||
| 5 | |||
| 6 | it works with glibc because it uses gcc fixed-headers but thats not right. | ||
| 7 | |||
| 8 | We move the include under C block | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | Upstream-Status: Pending | ||
| 12 | Index: pixman-0.32.6/pixman/pixman-private.h | ||
| 13 | =================================================================== | ||
| 14 | --- pixman-0.32.6.orig/pixman/pixman-private.h | ||
| 15 | +++ pixman-0.32.6/pixman/pixman-private.h | ||
| 16 | @@ -1,4 +1,3 @@ | ||
| 17 | -#include <float.h> | ||
| 18 | |||
| 19 | #ifndef PIXMAN_PRIVATE_H | ||
| 20 | #define PIXMAN_PRIVATE_H | ||
| 21 | @@ -17,6 +16,8 @@ | ||
| 22 | |||
| 23 | #ifndef __ASSEMBLER__ | ||
| 24 | |||
| 25 | +#include <float.h> | ||
| 26 | + | ||
| 27 | #ifndef PACKAGE | ||
| 28 | # error config.h must be included before pixman-private.h | ||
| 29 | #endif | ||
