diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 11:11:01 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 11:24:46 +0200 |
commit | 3815b72ba156c35b962e15d65a52bb4ded404a58 (patch) | |
tree | 3e1595be115eb37e60a1fc57c242e43e7d26f9f3 /community/qt5-qtwebengine/qt-musl-siginfo_t.patch | |
parent | de17d5212836b5874586e9f7cfee4381ee2a8401 (diff) | |
download | aports-3815b72ba156c35b962e15d65a52bb4ded404a58.tar.bz2 aports-3815b72ba156c35b962e15d65a52bb4ded404a58.tar.xz |
community/qt5-qtwebengine: move from testing
Diffstat (limited to 'community/qt5-qtwebengine/qt-musl-siginfo_t.patch')
-rw-r--r-- | community/qt5-qtwebengine/qt-musl-siginfo_t.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community/qt5-qtwebengine/qt-musl-siginfo_t.patch b/community/qt5-qtwebengine/qt-musl-siginfo_t.patch new file mode 100644 index 0000000000..fe760be166 --- /dev/null +++ b/community/qt5-qtwebengine/qt-musl-siginfo_t.patch @@ -0,0 +1,18 @@ +There's a subtle difference in the internal name of siginfo_t fields +between glibc and musl. The structure itself is equivalent, so it +should suffice to add a macro to rename the field. + +--- qtwebengine/src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc 2015-02-17 05:57:43.000000000 +0100 ++++ qtwebengine/src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc 2015-06-03 08:20:25.032716427 +0200 +@@ -22,6 +22,11 @@ + #include "sandbox/linux/services/android_ucontext.h" + #endif + ++// musl libc defines siginfo_t __si_fields instead of _sifields ++#if !defined(__GLIBC__) ++#define _sifields __si_fields ++#endif ++ + namespace { + + const int kCapacityIncrement = 20; |