From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 07/15] webkitgtk: Fix build for armv5
Date: Sun, 21 May 2017 22:00:34 -0700 [thread overview]
Message-ID: <20170522050042.42403-7-raj.khem@gmail.com> (raw)
In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com>
Detect atomics during configure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../detect-atomics-during-configure.patch | 34 ++++++++++++++++++++++
meta/recipes-sato/webkit/webkitgtk_2.16.1.bb | 1 +
2 files changed, 35 insertions(+)
create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch
diff --git a/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch b/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch
new file mode 100644
index 0000000000..12836f28f2
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch
@@ -0,0 +1,34 @@
+Taken from
+https://bugs.webkit.org/show_bug.cgi?id=161900
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: webkitgtk-2.16.1/Source/WTF/wtf/CMakeLists.txt
+===================================================================
+--- webkitgtk-2.16.1.orig/Source/WTF/wtf/CMakeLists.txt
++++ webkitgtk-2.16.1/Source/WTF/wtf/CMakeLists.txt
+@@ -182,7 +182,6 @@ set(WTF_HEADERS
+
+ set(WTF_SOURCES
+ Assertions.cpp
+- Atomics.cpp
+ AutomaticThread.cpp
+ BitVector.cpp
+ ClockType.cpp
+@@ -301,6 +300,15 @@ if (NOT USE_SYSTEM_MALLOC)
+ list(APPEND WTF_LIBRARIES bmalloc)
+ endif ()
+
++file(WRITE ${CMAKE_BINARY_DIR}/test_atomics.cpp
++ "int main(void)\n"
++ "{ long long x = 1; return (int) __sync_add_and_fetch_8(&x, 1); }\n")
++try_compile(ATOMICS_BUILD_SUCCEEDED ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/test_atomics.cpp)
++if (NOT ATOMICS_BUILD_SUCCEEDED)
++ list(APPEND WTF_SOURCES Atomics.cpp)
++endif ()
++file(REMOVE ${CMAKE_BINARY_DIR}/test_atomics.cpp)
++
+ list(APPEND WTF_SOURCES
+ unicode/icu/CollatorICU.cpp
+ )
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb
index 0931a50636..a52d93cfbe 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://x32_support.patch \
file://cross-compile.patch \
file://gcc7.patch \
+ file://detect-atomics-during-configure.patch \
"
SRC_URI[md5sum] = "d3bcf995a667fd9febb9ab991acf0ca7"
SRC_URI[sha256sum] = "eb92383232328ce655b703c64370ed3795662479719ad1b4a869ed46769d2945"
--
2.13.0
next prev parent reply other threads:[~2017-05-22 5:01 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 5:00 [PATCH 01/15] musl: Update to latest master Khem Raj
2017-05-22 5:00 ` [PATCH 02/15] libnsl2: Add recipe Khem Raj
2017-05-22 5:00 ` [PATCH 03/15] grub: Update to 2.02 Khem Raj
2017-05-22 5:00 ` [PATCH 04/15] glew: Compile with -D_GNU_SOURCE Khem Raj
2017-05-22 5:00 ` [PATCH 05/15] libidn: Fix hardened build with musl Khem Raj
2017-06-02 21:12 ` Khem Raj
2017-05-22 5:00 ` [PATCH 06/15] libgcrypt: Do not restrict to ARM ISA Khem Raj
2017-05-22 5:00 ` Khem Raj [this message]
2017-05-22 5:00 ` [PATCH 08/15] xkeyboard-config: Enable nls support explicitly Khem Raj
2017-05-23 23:50 ` Khem Raj
2017-05-22 5:00 ` [PATCH 09/15] systemd: Make knobs for compiler specific nn, ar, ranlib Khem Raj
2017-05-22 5:00 ` [PATCH 10/15] db: Add --tag=CC to cross libtool invocation Khem Raj
2017-05-23 13:14 ` Burton, Ross
2017-05-23 14:32 ` Khem Raj
2017-05-23 14:44 ` Burton, Ross
2017-05-23 14:48 ` Khem Raj
2017-05-23 14:54 ` Burton, Ross
2017-05-23 15:02 ` Burton, Ross
2017-05-23 15:10 ` Khem Raj
2017-05-22 5:00 ` [PATCH 11/15] linux-yocto: Enable drm by default Khem Raj
2017-05-22 14:46 ` Bruce Ashfield
2017-05-22 17:06 ` Khem Raj
2017-05-23 19:36 ` Bruce Ashfield
2017-05-25 2:40 ` Bruce Ashfield
2017-05-25 2:46 ` Khem Raj
2017-05-25 12:01 ` Bruce Ashfield
2017-05-22 5:00 ` [PATCH 12/15] iproute2: Fix build error due to missing stdint.h> include Khem Raj
2017-05-22 5:00 ` [PATCH 13/15] nfs-utils: " Khem Raj
2017-05-22 5:00 ` [PATCH 14/15] libtirpc: " Khem Raj
2017-05-22 5:00 ` [PATCH 15/15] nspr: " Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170522050042.42403-7-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.