Skip to content

Commit 3900b12

Browse files
committed
fix(sdk): fix build for s390x and ppc64el
1 parent db01fa1 commit 3900b12

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
diff --git a/Source/WebCore/platform/graphics/cairo/PatternCairo.cpp b/Source/WebCore/platform/graphics/cairo/PatternCairo.cpp
2+
index a3fcd68ff8b7..f0192cc2d69f 100644
3+
--- a/Source/WebCore/platform/graphics/cairo/PatternCairo.cpp
4+
+++ b/Source/WebCore/platform/graphics/cairo/PatternCairo.cpp
5+
@@ -30,6 +30,7 @@
6+
7+
#include "CairoUtilities.h"
8+
#include "GraphicsContext.h"
9+
+#include "NativeImage.h"
10+
11+
namespace WebCore {
12+
13+
diff --git a/Source/WebCore/rendering/style/RenderStyleConstants.h b/Source/WebCore/rendering/style/RenderStyleConstants.h
14+
index 50520bc3f2c0..db48b47f713f 100644
15+
--- a/Source/WebCore/rendering/style/RenderStyleConstants.h
16+
+++ b/Source/WebCore/rendering/style/RenderStyleConstants.h
17+
@@ -26,6 +26,7 @@
18+
#pragma once
19+
20+
#include <initializer_list>
21+
+#include <limits>
22+
#include <optional>
23+
24+
namespace WTF {

webkitgtk-6-gnome-2404-sdk/snapcraft.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ parts:
3737
- -DENABLE_JOURNALD_LOG=OFF
3838
- -DENABLE_DOCUMENTATION=OFF
3939
- -DENABLE_MINIBROWSER=ON
40+
override-pull: |
41+
craftctl default
42+
patch -p1 < ${CRAFT_PROJECT_DIR}/patches/fix-build-s390x-ppc64el.patch
4043
build-packages:
4144
- bubblewrap
4245
- gettext

0 commit comments

Comments
 (0)