From patchwork Thu Jul 13 07:41:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107557 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1877991qge; Thu, 13 Jul 2017 00:43:27 -0700 (PDT) X-Received: by 10.98.62.70 with SMTP id l67mr60178618pfa.114.1499931807227; Thu, 13 Jul 2017 00:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499931807; cv=none; d=google.com; s=arc-20160816; b=Xiyz2HCf+zHss/RsI2zXhbBFq/1pMee4b5leKLUxvUIcu7tAnlLrC8uettGlpzZFUi P8QBQ80FR7f/ig/NjduUlJV0pFKYozQXN4sGPc9m66md5jZXZj8XXAoZoiTSuNKPzekn rvZjd/YAg+ozhPRKHk4NDRzUnMQ9pSQgNZFxF883LgcULBDSw4Yp2P6v0Nj4c0wjpWDr dWFoX3EK1lvUJg2NOuGXRdvzaQuSd2SczKXGpfAR8y1IXr4cvkBVfBr0clS182pjB1s7 NiOyXzJQgpAqzYG42+ZSXNnDxFcTPhVPvS83GoSB8hwio8leiJur4P5Fq8PeAyOhwOVQ 9Lig== 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=mUW8dkZMenPLkk+8gwkAPYToZJNPQtcqINquqSwrtYw=; b=Yp7WOGDhf/AJJF7EBGbWDgcBi2FBklkh2O/n1Ex9css6azfbid19pJHndsbex8TP5u ehy/W8Yze4xOA/PnXkowOBDiJXxAIC2umu9WlNCOo0bA2/yTMaqlnRB4kSwLPzAyxL2y GoBaEzAkNUnwufAIndcOiHX8uCJdSvq2qZhtTk5X2sAmfTehdsvORma/ZfTrIx5Ds2ty 8z+W/5mXNmIEY0Lbdr6dDrxUxUIzLe8we4V7EtaX5AetsIAEeVCfkDyDu2HLmI4kvLou bYocI6T3CHlT/vJO29DezWuwdHJfS3YH2111GsWwOQShKquD3lOMDh19e55iJ8kBUCeU R48g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=UgHAk59B; 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 n1si3847501pld.386.2017.07.13.00.43.26; Thu, 13 Jul 2017 00:43:27 -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=UgHAk59B; 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 A6732781F2; Thu, 13 Jul 2017 07:43:24 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id AB6D078191 for ; Thu, 13 Jul 2017 07:42:08 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id j186so5995603pge.1 for ; Thu, 13 Jul 2017 00:42:10 -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=kvGoXCl3R3UbsNt5rMmtju+YCuRKFIdBGb0Clf2W5uE=; b=UgHAk59BR5OaWvVelxqeiSM26oJld4oPa9epcEyDlC+p6ZnYxipe+eupzYENaE0QVy W5eiaTNUq9rMXCWwFOr1vCMt9HopoCEqhceVlBFhnLhmZUyWSZXTleoeVweXkuDFOOxw FBY3bVVwnpuC1Zy6TGH5tvA7ySf1WWGi4fsC6RKvm7+3gWgSdFBbnvMf89GuSH2dWKPv 3wLRsDOwl1IV2pLdHGDfopKeldLuMroEgUEtgmEFvQ3/9hQSU5f14Xs/Vui7UHfV7m0L Kq4mu9ypBqRfhLPBoHKnPKs4ASl2WbX/mjKzyG3cJQFkiSvbPouSZzFX/EKGKAafUXbY 05Uw== 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=kvGoXCl3R3UbsNt5rMmtju+YCuRKFIdBGb0Clf2W5uE=; b=CI2Z6SPnrTQZgccFfuQT6B8e/GcaC+ur2TUXQh7uAEbYBOp5Ug1lYcO2YOm1f5ROYr TDmyUYSetVDg+lhKYiYhIxEx06huOMA68c2K+CDEgiADtLIXMTZLiRznq6gc2pHUTnX4 xO33BOk/MIzi63grEkzfRjRWX8eLaBOhXHRUdzP84xUsx6Yo9TC3X6Np9bN1a18GCJbE zNFG/cBPny+FDHPd+Wk5OyxR8w3h/LqmGYKUUq4zYGfr4RiThj0/Uwv4s/BDBiHqOgqY FceKFR85zps3VERCVLn5rTJwxcylS1x5ZXzKy16mF+fXFcM4Jn1GJVEVzTnJyrYxZeUr wVIw== X-Gm-Message-State: AIVw110kl02nFPpefP7/3SMbBitbpxl8mbRSe20qmkDIsBvK0g5FanxE eLi0uA1ZsfZaBV7H X-Received: by 10.99.96.132 with SMTP id u126mr7795947pgb.121.1499931729918; Thu, 13 Jul 2017 00:42:09 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id z6sm11473952pff.46.2017.07.13.00.42.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 00:42:09 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 13 Jul 2017 00:41:53 -0700 Message-Id: <20170713074154.10606-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170713074154.10606-1-raj.khem@gmail.com> References: <20170713074154.10606-1-raj.khem@gmail.com> Subject: [oe] [meta-qt5][PATCH 2/3] qtvirtualkeyboard: Include sys/time.h 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 Fixes build on musl Signed-off-by: Khem Raj --- .../0001-include-sys-time.h-for-timeval.patch | 28 ++++++++++++++++++++++ recipes-qt/qt5/qtvirtualkeyboard_git.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch b/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch new file mode 100644 index 0000000..8518ae9 --- /dev/null +++ b/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch @@ -0,0 +1,28 @@ +From 78106c5b939cc7d84710fe4c8e2a356ac1f110ef Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 12 Jul 2017 23:59:52 -0700 +Subject: [PATCH] include sys/time.h for timeval + +Musl exposes this issue since its not indirectly +including sys/time.h like glibc + +Signed-off-by: Khem Raj +--- + src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h +index 1b9673f..924be7b 100644 +--- a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h ++++ b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h +@@ -24,6 +24,7 @@ + // Debug performance for operations + // #define ___DEBUG_PERF___ + ++#include + #ifdef _WIN32 + #include // timeval + #else +-- +2.13.2 + diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 08914b1..244e529 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb @@ -5,6 +5,7 @@ LICENSE = "GPL-3.0 | The-Qt-Company-Commercial" LIC_FILES_CHKSUM = " \ file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ " +SRC_URI += "file://0001-include-sys-time.h-for-timeval.patch" # To enabled Nuance T9 Write support, you need to provide the licensed components # and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file.