From patchwork Wed Aug 2 02:55:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 109191 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2229365qge; Tue, 1 Aug 2017 19:55:41 -0700 (PDT) X-Received: by 10.99.139.65 with SMTP id j62mr20868668pge.202.1501642541745; Tue, 01 Aug 2017 19:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501642541; cv=none; d=google.com; s=arc-20160816; b=yOyAnJ54LD/SIF6QayFpPz9vkk+UgVQqjSuN/Q4KKMgfzawe76WC+ufRAtWX421ZCr ZvVV8SxH3imFhNELEQPZVSKdakwUymOg2LZ/zm5zo2Y2uvH9Gpzcwg5imDH04p6lBd8l 1UShMyHrc4JFYo8Hd4YxNX40Ud5PWr+f7nctpJnydHYMFtRp5TxIaEkzerprIetFvynr 3fkH2VZmwTwKm0qc4hjUZpiRjdGiKaPTxMm3H+eSRBqzyxS8AoCVW9JTsZniW1rOfZvi I46Z+hcIvtHg1IdCyEz1bBesWysj/8fF45UkGXU0DjCbH1udVy7z8SSjSLQg5L0V+WRr LtVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=UNxpEP7W00bCoTOq08SfbZhcSK6RQJnb9lBN+p9tayQ=; b=ruNlEYz0B7xn7tpQDT5z6i7WJi01TycxX+ftCTfIUSmAMhwFI73km3DJesgiQdaELd aVrvvJKtcwtuAOxT0iLbzP6ZDZ3VhhcxrWLwQhDvRavcn28fZ1KdmZRPm+ph5r1vz0UQ DYb5iSMKZzRG/JeOseYj3FK1OJaYp9GTDBWkJvLacNeR77qHCrvEawipMiEknhzyizbr SaNaRBGN8attM+KZQhMpyB0zGHGb1Z/T4ip6WO9bpyzn/N+cEJ66N6Qpm5hyvpVe65Ce QIIDsOO/+Xcn3lrZibZ7SozS97YHXVzQFVOod/LOdFm/Wvr/Bd+Rb9tc6Xv7tVDUnIVs xI2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=llTJAxFG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e7si20390913plk.249.2017.08.01.19.55.41; Tue, 01 Aug 2017 19:55:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=llTJAxFG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 22E0078218; Wed, 2 Aug 2017 02:55:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id D5D1178218 for ; Wed, 2 Aug 2017 02:55:33 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id t86so4559128pfe.1 for ; Tue, 01 Aug 2017 19:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=l2wYTb4Lft808JDdZbLIuAVEd5yuQ/EbeEC/B1aFQds=; b=llTJAxFGXcpexn6Lkk+oQJgmu8wTYAt/MrVB3Upv9B3nGk5OGZ/VrB/5anw5oG5GT0 8uajUcig4WJeOHqN5vWcOhl3rxgV0ogEaCaF76lEIfNFo3OtibemVZ0qFWdzsYsNaVSC MXPpMg0nRWmEfsd//MHJ2J6bX1zt6dgEDeEzcV2ku1lgCHcXbCOc4tLgr5R/q9i+sfAE SSpZba9OFdMy8v2M/sZOHdNwowMsrG/UdwusMGfSeoINrTmsD0+h/mQfddQDvm8129JM k7kJGujTw2zn+C0weQ8eNJFIiNGXzfFc20vjREkoL8+YgqtXgCeO9/mZ4QbA5Pk+uHf7 YiEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=l2wYTb4Lft808JDdZbLIuAVEd5yuQ/EbeEC/B1aFQds=; b=s4OQZZKUTz9KQfkDtbGAQfQQTH8okJWoUb8dOiZOv31k8Krxl1UAy+hSO01NrF40jA d7QO3vhs3Y4b0GdxDVBKeMhsY+coMDoPigVUGYOCQ6csdXgRaoI3NvgEo9ZX+GDgZA8c hAZ2l6ITcDQg/MP3yY4SBMCyVxjV8fdbeKxepMZB1weBCE1SE43GNgOqASKoL9cZ3DN0 aKEfp1TY3gQZ2l7E129Pi7DPhtCttZcXctjAsNJ/7Q/MDYddYlN1xD47LvA2RpWhnNEi Kloauh7zgXEl3ofCX6iGVT8e7wBULCUA5NSWg5hOha6XM88hkHPdoJkYwtXy5c/CQb2m 3ORQ== X-Gm-Message-State: AIVw112pYi/clyoYUVkN0BZg5Jz+pS0TEhxQKaDfgpRTsQbV93kmzJ1C Ke1pJvpF05pAJkLJ X-Received: by 10.98.57.138 with SMTP id u10mr21015100pfj.227.1501642534482; Tue, 01 Aug 2017 19:55:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::1f6f]) by smtp.gmail.com with ESMTPSA id s206sm59775669pfs.55.2017.08.01.19.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 19:55:33 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 1 Aug 2017 19:55:22 -0700 Message-Id: <20170802025523.37417-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 Subject: [oe] [meta-qt5][PATCH 1/2] qtbase: Use sched_yield instead of pthread_yield X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Makes it portable across glibc and musl Signed-off-by: Khem Raj --- ...11-Replace-pthread_yield-with-sched_yield.patch | 63 ++++++++++++++++++++++ recipes-qt/qt5/qtbase_git.bb | 1 + 2 files changed, 64 insertions(+) create mode 100644 recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch b/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch new file mode 100644 index 0000000..ed0d4bc --- /dev/null +++ b/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch @@ -0,0 +1,63 @@ +From d1d4b520e29b58e427fc7bd336d34b82d0d2b1f3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 27 Jul 2017 08:02:51 -0700 +Subject: [PATCH] Replace pthread_yield with sched_yield + +On Linux pthead_yield is same as sched_yield implementation wise +and sched_yield is available on all libc +implementations on Linux + +Signed-off-by: Khem Raj +--- + tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 4 ++-- + tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 5 +++-- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp +index 7d9f56ef38..bc115ef61d 100644 +--- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp ++++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp +@@ -34,7 +34,7 @@ + #include "tst_qvariant_common.h" + + #ifdef Q_OS_LINUX +-# include ++# include + #endif + + #include +@@ -197,7 +197,7 @@ protected: + const char *nm = name.constData(); + int tp = qRegisterMetaType(nm); + #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) +- pthread_yield(); ++ sched_yield(); + #endif + QMetaType info(tp); + if (!info.isValid()) { +diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp +index fe1057bdde..e23e97b259 100644 +--- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp ++++ b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp +@@ -75,6 +75,7 @@ + #include + #include + #include ++#include + #endif + + #include "private/qhostinfo_p.h" +@@ -2129,8 +2130,8 @@ public slots: + + #if defined(Q_OS_MAC) + pthread_yield_np(); +-#elif defined Q_OS_LINUX && !defined Q_OS_ANDROID +- pthread_yield(); ++#elif defined Q_OS_LINUX ++ sched_yield(); + #endif + if (!sock->waitForConnected()) { + networkTimeout = true; +-- +2.13.3 + diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index c26a93b..9e652c3 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -24,6 +24,7 @@ SRC_URI += "\ file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ file://0010-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch \ + file://0011-Replace-pthread_yield-with-sched_yield.patch \ " # only for target qtbase From patchwork Wed Aug 2 02:55:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 109192 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2229594qge; Tue, 1 Aug 2017 19:56:06 -0700 (PDT) X-Received: by 10.99.2.82 with SMTP id 79mr16644021pgc.264.1501642566457; Tue, 01 Aug 2017 19:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501642566; cv=none; d=google.com; s=arc-20160816; b=tCdTeznnv1Q4DTeya6TMlAj8A2liBgNT2gCVP4AY6c41WKlKNur2JtTwaSPgL+Savx sHPPKA3Jq0GJuVg66iqHiYzUmE14maDo7sZL+YAEzsanT9d8IgSadakPx0526yTGEZW7 6d/Z0M4ocq0/+X5rrdCFfKG6tp+Fn0C1xdUONrE5pScRfg6Bzhv4t1axN18R0tN3DkK0 2HGCbZr1YeodcOyQwHlIY3E1mVXP1GkttV8Xi27QKi5NWVlJ5Z2xXPS4lTyIWF2oCmsg bVbtJX6Uz9/AEzbRIZRMMeGBIDhuFhAGhambfNBcxwa/FPILz6u019co1qwFNRM001Ji fa6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=hBIyOEUndXt7KM/VgM/pZwtBIW6oR9K2zDh4RSyNwEM=; b=mmmj+pv9RwtUtrUsh2MS7nNsCSp6G+dwVdQBzCkGbtAC6k/9FoF/LzHAirEu1WTCsv GG8e6QK0S5AxObUgXcNkOJg4riiNibGyyj9h+JFHFQX7kh3gqDmcgwWgJAkXbbEcXEvf EHYHO1I5VN1GYE2yNEEaQ0hO4KJNfHKtSHD5lT2czRDfxVD00ZSrdk/TDhpkFvCnH3aa CtgUuWY+3RDr8qsOlMY7TslML/OjMyqfcR6nQQwV0dkUGnTAprrDHxt+OrdIlJ5jM3oi PZ+7Bvn0aK1gXvqAzUTBETDb1t1u+og8ZE6FiCVTeOmPzlZABIM/AxsrJOPRYl3oUJph y8mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=jbaAshuz; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a20si4990965pgn.26.2017.08.01.19.56.06; Tue, 01 Aug 2017 19:56:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=jbaAshuz; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 88A4778236; Wed, 2 Aug 2017 02:56:02 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 0D9F378213 for ; Wed, 2 Aug 2017 02:55:34 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id y192so4946062pgd.1 for ; Tue, 01 Aug 2017 19:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VmTlB2bnV3W62Evo2ps9vN4gUvx/UuxBHviXZ020hu8=; b=jbaAshuzSmE+6N1RHxh7fMufag0I53nFkcQo8PDgyKSWYjbBx+t4tJAfK3f456cih9 Y7XN6Qf4gav4m9Dc75bFGbHpU/7hDk+wNBLiZtCYAlYPhDd/9MRNcje+9ud7BB7hImLq OWxjJR3+q19QxfIdvZwjU5UNDTQUGTuLsDlt3ZHpDhO4oz5CIdyQHVvvoKFPWqKnit3Y sZUXemHvWc2Dt5NrNB0RyQQ5XIuHjX8lV0Ne/jPmlt6pIp2Ta6QbDUB6iE7vLt3vS94k SYB0gCogjxMeXXy0QWjKVJMvKOcJjUtaJYVhY76xuApgPfnbLlm15l67XiTc2PCczEsG 4TaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VmTlB2bnV3W62Evo2ps9vN4gUvx/UuxBHviXZ020hu8=; b=TrVHhXzsvknSb2JZ/QL01Jqcj3rmQloruTj4+lJm49OJR8teW7bVDbG3iKUl+xgNrv CggLIt1cFF5JODYPZTAhJjODfZbb9SSLSZNSCx2iK087Fhf5EAbz39Se4eU1I33Ae/h3 Ms50qqWjlK9pMcBCiFdinZgpEemiZb26fBHiaFtYtAFolh8J3n7vN5tA9djmexCc+ynZ qsUkli+EG/S60QFFDeMbi4Veow7jqz9wVWqQFEzjyrdOGxHpF+5VmGftQCl4JVgdpZu0 RPaorsUdcIZnMI48KIOwkT4tfeKWHq+AjQgkAaV+YJCyBiVSqS25X5Fq8YRTSqiux5T1 aL8g== X-Gm-Message-State: AIVw111heWwXoT5lf8Srq+n8ApLe664xB7cfjdPFEGhWuChomOhXL4qy V6KuhDaZiW60XUKG X-Received: by 10.98.82.197 with SMTP id g188mr21344714pfb.34.1501642535682; Tue, 01 Aug 2017 19:55:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::1f6f]) by smtp.gmail.com with ESMTPSA id s206sm59775669pfs.55.2017.08.01.19.55.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 19:55:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 1 Aug 2017 19:55:23 -0700 Message-Id: <20170802025523.37417-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170802025523.37417-1-raj.khem@gmail.com> References: <20170802025523.37417-1-raj.khem@gmail.com> Subject: [oe] [meta-qt5][PATCH 2/2] qtwebkit: Backport a patch to fix build with icu-59 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0004-Fix-compilation-with-ICU-59.patch | 92 ++++++++++++++++++++++ recipes-qt/qt5/qtwebkit_git.bb | 1 + 2 files changed, 93 insertions(+) create mode 100644 recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch b/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch new file mode 100644 index 0000000..e4a108e --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch @@ -0,0 +1,92 @@ +From d8d9b1eb468f5e5d5d9f0b196fc0acb641998c8b Mon Sep 17 00:00:00 2001 +From: Konstantin Tokarev +Date: Thu, 4 May 2017 15:12:37 +0300 +Subject: [PATCH] Fix compilation with ICU 59 + +Upstream fix: https://bugs.webkit.org/show_bug.cgi?id=171612 + +Task-number: QTBUG-60532 +Change-Id: I6014feea213aa70ebe40b09d9d1a03fd1ed3c843 +Reviewed-by: Allan Sandfeld Jensen +--- + Source/JavaScriptCore/API/JSStringRef.cpp | 6 +++--- + Source/JavaScriptCore/runtime/DateConversion.cpp | 3 ++- + Source/WTF/wtf/TypeTraits.h | 3 +++ + Source/WebKit2/Shared/API/c/WKString.cpp | 2 +- + 4 files changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Source/JavaScriptCore/API/JSStringRef.cpp b/Source/JavaScriptCore/API/JSStringRef.cpp +index 812f3d413..77a3fd0f4 100644 +--- a/Source/JavaScriptCore/API/JSStringRef.cpp ++++ b/Source/JavaScriptCore/API/JSStringRef.cpp +@@ -37,7 +37,7 @@ using namespace WTF::Unicode; + JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) + { + initializeThreading(); +- return OpaqueJSString::create(chars, numChars).leakRef(); ++ return OpaqueJSString::create(reinterpret_cast(chars), numChars).leakRef(); + } + + JSStringRef JSStringCreateWithUTF8CString(const char* string) +@@ -62,7 +62,7 @@ JSStringRef JSStringCreateWithUTF8CString(const char* string) + JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars) + { + initializeThreading(); +- return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef(); ++ return OpaqueJSString::create(StringImpl::createWithoutCopying(reinterpret_cast(chars), numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef(); + } + + JSStringRef JSStringRetain(JSStringRef string) +@@ -83,7 +83,7 @@ size_t JSStringGetLength(JSStringRef string) + + const JSChar* JSStringGetCharactersPtr(JSStringRef string) + { +- return string->characters(); ++ return reinterpret_cast(string->characters()); + } + + size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string) +diff --git a/Source/JavaScriptCore/runtime/DateConversion.cpp b/Source/JavaScriptCore/runtime/DateConversion.cpp +index 0b57f012d..05e27338b 100644 +--- a/Source/JavaScriptCore/runtime/DateConversion.cpp ++++ b/Source/JavaScriptCore/runtime/DateConversion.cpp +@@ -107,7 +107,8 @@ String formatDateTime(const GregorianDateTime& t, DateTimeFormat format, bool as + #if OS(WINDOWS) + TIME_ZONE_INFORMATION timeZoneInformation; + GetTimeZoneInformation(&timeZoneInformation); +- const WCHAR* timeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; ++ const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; ++ String timeZoneName(reinterpret_cast(winTimeZoneName)); + #else + struct tm gtm = t; + char timeZoneName[70]; +diff --git a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h +index 9df2c95cf..f5d6121fd 100644 +--- a/Source/WTF/wtf/TypeTraits.h ++++ b/Source/WTF/wtf/TypeTraits.h +@@ -72,6 +72,9 @@ namespace WTF { + template<> struct IsInteger { static const bool value = true; }; + template<> struct IsInteger { static const bool value = true; }; + template<> struct IsInteger { static const bool value = true; }; ++#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(_HAS_CHAR16_T_LANGUAGE_SUPPORT) && _HAS_CHAR16_T_LANGUAGE_SUPPORT) ++ template<> struct IsInteger { static const bool value = true; }; ++#endif + #if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED) + template<> struct IsInteger { static const bool value = true; }; + #endif +diff --git a/Source/WebKit2/Shared/API/c/WKString.cpp b/Source/WebKit2/Shared/API/c/WKString.cpp +index cbac67dd8..23400a64e 100644 +--- a/Source/WebKit2/Shared/API/c/WKString.cpp ++++ b/Source/WebKit2/Shared/API/c/WKString.cpp +@@ -55,7 +55,7 @@ size_t WKStringGetLength(WKStringRef stringRef) + size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) + { + COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar); +- return (toImpl(stringRef)->getCharacters(static_cast(buffer), bufferLength)); ++ return (toImpl(stringRef)->getCharacters(reinterpret_cast(buffer), bufferLength)); + } + + size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef) +-- +2.13.3 + diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 4845d0f..3c52ef3 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb @@ -22,6 +22,7 @@ SRC_URI += "\ file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ file://0002-Remove-TEXTREL-tag-in-x86.patch \ file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ + file://0004-Fix-compilation-with-ICU-59.patch \ " PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \