citadel/meta/recipes-sato/webkit/webkitgtk/x32_support.patch
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

22 lines
668 B
Diff

From: Daniel Schepler <dschepler@gmail.com>
Subject: Fix FTBFS in x32
Bug-Debian: https://bugs.debian.org/700795
Upstream-Status: Pending
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Index: webkitgtk-2.16.1/Source/WTF/wtf/Platform.h
===================================================================
--- webkitgtk-2.16.1.orig/Source/WTF/wtf/Platform.h
+++ webkitgtk-2.16.1/Source/WTF/wtf/Platform.h
@@ -172,7 +172,11 @@
/* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */
#if defined(__x86_64__) \
|| defined(_M_X64)
+#ifdef __ILP32__
+#define WTF_CPU_X86_64_32 1
+#else
#define WTF_CPU_X86_64 1
+#endif
#define WTF_CPU_X86_SSE2 1
#endif