[gnome-build-meta/alatiera/tarballs: 4/4] Add patch to fix WebKit build
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/tarballs: 4/4] Add patch to fix WebKit build
- Date: Tue, 2 Mar 2021 19:17:18 +0000 (UTC)
commit 17880d5c4c29436ae47d2d82896ad4df38fac9e9
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Mar 2 13:16:26 2021 -0600
Add patch to fix WebKit build
elements/sdk/webkitgtk.bst | 2 ++
files/webkitgtk/2.31.90-fix-build.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/elements/sdk/webkitgtk.bst b/elements/sdk/webkitgtk.bst
index 0227056c..825982f3 100644
--- a/elements/sdk/webkitgtk.bst
+++ b/elements/sdk/webkitgtk.bst
@@ -3,6 +3,8 @@ kind: cmake
sources:
- kind: tar
url: webkitgtk_org:webkitgtk-2.31.90.tar.xz
+- kind: patch
+ path: files/webkitgtk/2.31.90-fix-build.patch
- kind: local
path: files/webkitgtk/toolchain.i686
- kind: local
diff --git a/files/webkitgtk/2.31.90-fix-build.patch b/files/webkitgtk/2.31.90-fix-build.patch
new file mode 100644
index 00000000..0a0db2bf
--- /dev/null
+++ b/files/webkitgtk/2.31.90-fix-build.patch
@@ -0,0 +1,11 @@
+Index: /Source/WebKit/Platform/IPC/StreamConnectionBuffer.h
+===================================================================
+--- /Source/WebKit/Platform/IPC/StreamConnectionBuffer.h (revision 273642)
++++ /Source/WebKit/Platform/IPC/StreamConnectionBuffer.h (revision 273643)
+@@ -115,5 +115,5 @@
+ };
+ Header& header() const { return *reinterpret_cast<Header*>(m_sharedMemory->data()); }
+- static constexpr size_t headerSize() { return
roundUpToMultipleOf<sizeof(std::max_align_t)>(sizeof(Header)); }
++ static constexpr size_t headerSize() { return
roundUpToMultipleOf<alignof(std::max_align_t)>(sizeof(Header)); }
+
+ size_t m_dataSize { 0 };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]