breakpad: Fix mips build on musl

There still are issues but this makes it better
and fix can be upstreamed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2017-09-19 09:31:58 -07:00
committed by Martin Jansa
parent f75b3ac720
commit 19de9be982
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,20 @@
Index: lss/linux_syscall_support.h
===================================================================
--- lss.orig/linux_syscall_support.h
+++ lss/linux_syscall_support.h
@@ -118,15 +118,7 @@ extern "C" {
#include <endian.h>
#ifdef __mips__
-/* Include definitions of the ABI currently in use. */
-#ifdef __ANDROID__
-/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
- * which has the definitions we need.
- */
#include <asm/sgidefs.h>
-#else
-#include <sgidefs.h>
-#endif
#endif
#endif
@@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \
file://0005-md2core-Replace-basename.patch \
file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch \
file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
"
S = "${WORKDIR}/git"