diff options
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch | 30 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch | 8 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/x32_support.patch | 30 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.28.2.bb (renamed from meta/recipes-sato/webkit/webkitgtk_2.26.4.bb) | 5 |
4 files changed, 21 insertions, 52 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch index 0c145c7ebd..6dcb52956c 100644 --- a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c4d4d9f1aa74addefdad40294cf16d9e0b3dd6ec Mon Sep 17 00:00:00 2001 | 1 | From 828a500d5be62ba6fc94bd4fac3fe4bf1b1d4f6d Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 6 Oct 2017 17:00:08 +0300 | 3 | Date: Fri, 6 Oct 2017 17:00:08 +0300 |
4 | Subject: [PATCH] Fix build with musl | 4 | Subject: [PATCH] Fix build with musl |
@@ -8,14 +8,14 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
8 | 8 | ||
9 | --- | 9 | --- |
10 | Source/JavaScriptCore/runtime/MachineContext.h | 10 +++++----- | 10 | Source/JavaScriptCore/runtime/MachineContext.h | 10 +++++----- |
11 | Source/WTF/wtf/Platform.h | 2 +- | 11 | Source/WTF/wtf/PlatformHave.h | 2 +- |
12 | 2 files changed, 6 insertions(+), 6 deletions(-) | 12 | 2 files changed, 6 insertions(+), 6 deletions(-) |
13 | 13 | ||
14 | diff --git a/Source/JavaScriptCore/runtime/MachineContext.h b/Source/JavaScriptCore/runtime/MachineContext.h | 14 | diff --git a/Source/JavaScriptCore/runtime/MachineContext.h b/Source/JavaScriptCore/runtime/MachineContext.h |
15 | index 823964c2..00841146 100644 | 15 | index c5052527..95ef98b5 100644 |
16 | --- a/Source/JavaScriptCore/runtime/MachineContext.h | 16 | --- a/Source/JavaScriptCore/runtime/MachineContext.h |
17 | +++ b/Source/JavaScriptCore/runtime/MachineContext.h | 17 | +++ b/Source/JavaScriptCore/runtime/MachineContext.h |
18 | @@ -188,7 +188,7 @@ static inline void*& stackPointerImpl(mcontext_t& machineContext) | 18 | @@ -196,7 +196,7 @@ static inline void*& stackPointerImpl(mcontext_t& machineContext) |
19 | #error Unknown Architecture | 19 | #error Unknown Architecture |
20 | #endif | 20 | #endif |
21 | 21 | ||
@@ -24,7 +24,7 @@ index 823964c2..00841146 100644 | |||
24 | 24 | ||
25 | #if CPU(X86) | 25 | #if CPU(X86) |
26 | return reinterpret_cast<void*&>((uintptr_t&) machineContext.gregs[REG_ESP]); | 26 | return reinterpret_cast<void*&>((uintptr_t&) machineContext.gregs[REG_ESP]); |
27 | @@ -335,7 +335,7 @@ static inline void*& framePointerImpl(mcontext_t& machineContext) | 27 | @@ -347,7 +347,7 @@ static inline void*& framePointerImpl(mcontext_t& machineContext) |
28 | #error Unknown Architecture | 28 | #error Unknown Architecture |
29 | #endif | 29 | #endif |
30 | 30 | ||
@@ -33,7 +33,7 @@ index 823964c2..00841146 100644 | |||
33 | 33 | ||
34 | // The following sequence depends on glibc's sys/ucontext.h. | 34 | // The following sequence depends on glibc's sys/ucontext.h. |
35 | #if CPU(X86) | 35 | #if CPU(X86) |
36 | @@ -482,7 +482,7 @@ static inline void*& instructionPointerImpl(mcontext_t& machineContext) | 36 | @@ -498,7 +498,7 @@ static inline void*& instructionPointerImpl(mcontext_t& machineContext) |
37 | #error Unknown Architecture | 37 | #error Unknown Architecture |
38 | #endif | 38 | #endif |
39 | 39 | ||
@@ -42,7 +42,7 @@ index 823964c2..00841146 100644 | |||
42 | 42 | ||
43 | // The following sequence depends on glibc's sys/ucontext.h. | 43 | // The following sequence depends on glibc's sys/ucontext.h. |
44 | #if CPU(X86) | 44 | #if CPU(X86) |
45 | @@ -639,7 +639,7 @@ inline void*& argumentPointer<1>(mcontext_t& machineContext) | 45 | @@ -656,7 +656,7 @@ inline void*& argumentPointer<1>(mcontext_t& machineContext) |
46 | #error Unknown Architecture | 46 | #error Unknown Architecture |
47 | #endif | 47 | #endif |
48 | 48 | ||
@@ -51,7 +51,7 @@ index 823964c2..00841146 100644 | |||
51 | 51 | ||
52 | // The following sequence depends on glibc's sys/ucontext.h. | 52 | // The following sequence depends on glibc's sys/ucontext.h. |
53 | #if CPU(X86) | 53 | #if CPU(X86) |
54 | @@ -756,7 +756,7 @@ inline void*& llintInstructionPointer(mcontext_t& machineContext) | 54 | @@ -773,7 +773,7 @@ inline void*& llintInstructionPointer(mcontext_t& machineContext) |
55 | #error Unknown Architecture | 55 | #error Unknown Architecture |
56 | #endif | 56 | #endif |
57 | 57 | ||
@@ -60,13 +60,13 @@ index 823964c2..00841146 100644 | |||
60 | 60 | ||
61 | // The following sequence depends on glibc's sys/ucontext.h. | 61 | // The following sequence depends on glibc's sys/ucontext.h. |
62 | #if CPU(X86) | 62 | #if CPU(X86) |
63 | diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h | 63 | diff --git a/Source/WTF/wtf/PlatformHave.h b/Source/WTF/wtf/PlatformHave.h |
64 | index 34f7cb14..32ad9150 100644 | 64 | index daca20fe..53eae6ba 100644 |
65 | --- a/Source/WTF/wtf/Platform.h | 65 | --- a/Source/WTF/wtf/PlatformHave.h |
66 | +++ b/Source/WTF/wtf/Platform.h | 66 | +++ b/Source/WTF/wtf/PlatformHave.h |
67 | @@ -714,7 +714,7 @@ | 67 | @@ -222,7 +222,7 @@ |
68 | 68 | #define HAVE_HOSTED_CORE_ANIMATION 1 | |
69 | #endif /* OS(DARWIN) */ | 69 | #endif |
70 | 70 | ||
71 | -#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) | 71 | -#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) |
72 | +#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__linux__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) | 72 | +#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__linux__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) |
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch index e7c668c040..866e9d9d09 100644 --- a/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4b5e02212a31b82fc9b3becad90542274816fc29 Mon Sep 17 00:00:00 2001 | 1 | From 1c7e7a385387d7febf633bbb6d2b99ece523e719 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 11 Aug 2016 17:13:51 +0300 | 3 | Date: Thu, 11 Aug 2016 17:13:51 +0300 |
4 | Subject: [PATCH] Tweak gtkdoc settings so that gtkdoc generation works under | 4 | Subject: [PATCH] Tweak gtkdoc settings so that gtkdoc generation works under |
@@ -17,15 +17,15 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
17 | 2 files changed, 3 insertions(+), 3 deletions(-) | 17 | 2 files changed, 3 insertions(+), 3 deletions(-) |
18 | 18 | ||
19 | diff --git a/Source/cmake/GtkDoc.cmake b/Source/cmake/GtkDoc.cmake | 19 | diff --git a/Source/cmake/GtkDoc.cmake b/Source/cmake/GtkDoc.cmake |
20 | index b0fb31ca..6cb6313d 100644 | 20 | index 18e86448..102c873a 100644 |
21 | --- a/Source/cmake/GtkDoc.cmake | 21 | --- a/Source/cmake/GtkDoc.cmake |
22 | +++ b/Source/cmake/GtkDoc.cmake | 22 | +++ b/Source/cmake/GtkDoc.cmake |
23 | @@ -4,7 +4,7 @@ macro(ADD_GTKDOC_GENERATOR _stamp_name _extra_args) | 23 | @@ -4,7 +4,7 @@ macro(ADD_GTKDOC_GENERATOR _stamp_name _extra_args) |
24 | add_custom_command( | 24 | add_custom_command( |
25 | OUTPUT "${CMAKE_BINARY_DIR}/${_stamp_name}" | 25 | OUTPUT "${CMAKE_BINARY_DIR}/${_stamp_name}" |
26 | DEPENDS ${DocumentationDependencies} | 26 | DEPENDS ${DocumentationDependencies} |
27 | - COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" "LDFLAGS=${CMAKE_EXE_LINKER_FLAGS}" ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args} | 27 | - COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" "LDFLAGS=${CMAKE_EXE_LINKER_FLAGS}" ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args} |
28 | + COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" "LD=${CMAKE_C_COMPILER}" "LDFLAGS=${CMAKE_C_LINK_FLAGS}" "RUN=${CMAKE_BINARY_DIR}/gtkdoc-qemuwrapper" ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args} | 28 | + COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" "LD=${CMAKE_C_COMPILER}" "LDFLAGS=${CMAKE_C_LINK_FLAGS}" "RUN=${CMAKE_BINARY_DIR}/gtkdoc-qemuwrapper" ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args} |
29 | COMMAND touch ${_stamp_name} | 29 | COMMAND touch ${_stamp_name} |
30 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" | 30 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" |
31 | VERBATIM | 31 | VERBATIM |
diff --git a/meta/recipes-sato/webkit/webkitgtk/x32_support.patch b/meta/recipes-sato/webkit/webkitgtk/x32_support.patch deleted file mode 100644 index 85d281e7f4..0000000000 --- a/meta/recipes-sato/webkit/webkitgtk/x32_support.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
2 | Upstream-Status: Pending | ||
3 | |||
4 | From 897563a0397266d8ceb058f172e16b06419b2593 Mon Sep 17 00:00:00 2001 | ||
5 | From: Daniel Schepler <dschepler@gmail.com> | ||
6 | Date: Mon, 26 Mar 2018 17:48:34 +0300 | ||
7 | Subject: [PATCH] Fix FTBFS in x32 | ||
8 | |||
9 | =================================================================== | ||
10 | |||
11 | --- | ||
12 | Source/WTF/wtf/Platform.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h | ||
16 | index 850e298..551c047 100644 | ||
17 | --- a/Source/WTF/wtf/Platform.h | ||
18 | +++ b/Source/WTF/wtf/Platform.h | ||
19 | @@ -132,7 +132,11 @@ | ||
20 | /* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */ | ||
21 | #if defined(__x86_64__) \ | ||
22 | || defined(_M_X64) | ||
23 | +#ifdef __ILP32__ | ||
24 | +#define WTF_CPU_X86_64_32 1 | ||
25 | +#else | ||
26 | #define WTF_CPU_X86_64 1 | ||
27 | +#endif | ||
28 | #define WTF_CPU_X86_SSE2 1 | ||
29 | #define WTF_CPU_KNOWN 1 | ||
30 | #endif | ||
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb index e4197d1a00..288c715cc3 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb | |||
@@ -16,13 +16,12 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
16 | file://0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch \ | 16 | file://0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch \ |
17 | file://0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch \ | 17 | file://0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch \ |
18 | file://0001-Enable-THREADS_PREFER_PTHREAD_FLAG.patch \ | 18 | file://0001-Enable-THREADS_PREFER_PTHREAD_FLAG.patch \ |
19 | file://x32_support.patch \ | ||
20 | file://cross-compile.patch \ | 19 | file://cross-compile.patch \ |
21 | file://0001-Fix-build-with-musl.patch \ | 20 | file://0001-Fix-build-with-musl.patch \ |
22 | file://include_array.patch \ | 21 | file://include_array.patch \ |
23 | " | 22 | " |
24 | SRC_URI[md5sum] = "60f881729f3b71244b7f6e58790073e0" | 23 | SRC_URI[md5sum] = "ec0ef870ca37e3a5ebbead2f268a28ec" |
25 | SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b66569934b113f" | 24 | SRC_URI[sha256sum] = "b9d23525cfd8d22c37b5d964a9fe9a8ce7583042a2f8d3922e71e6bbc68c30bd" |
26 | 25 | ||
27 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc | 26 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc |
28 | 27 | ||