From patchwork Sun May 20 22:35:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 136425 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3873860lji; Sun, 20 May 2018 15:35:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpt2GUgddEp0QuNEtJH7Jc63L6tWWgvo2J7x4ZXXtvUQXyjbtBYxcOQkalZuPWhFkH3wsjk X-Received: by 2002:a63:8849:: with SMTP id l70-v6mr14222381pgd.49.1526855745100; Sun, 20 May 2018 15:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526855745; cv=none; d=google.com; s=arc-20160816; b=Qin1mTN04BSN9vsa0JyFnSlGJHlHPaak+hwg+sEe7FQWnjNXHViAWvTlfheBciswBM zlCMF30NMI3OVIODt7zk7/yndd2h9/0eR2BjveaOl4mKxp/3MJbX5wNOq1LjXTj0j+AE KWmCNoESFXt92VSlDvx8pUJ2yR4ToKwepc2QslMCh5SsTFmXQVQxec1nyvZsn7BTY+sH t3jpaHay373aqiboodgFeo63syOswA/7nZf0JRGLcOaYw9mdL2546IyAE0Mc1i9dm/7j Rrzi4hV9q4u/RH5KBz3WBNe733DyEYhcfkzooGIZW8mM7okR7Jq96aBiGzWbcTgjviUs 8LFw== 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=0Xk6a6rJyqLlbVRcXj+RHACwORfJ3hCM/Y7kZ5aZTbI=; b=HFfx1y+Ffod7mA3T3tfIyiQ7Q4s9w28+S/0Wlftso4wolIf+JPpqH1m2/HRYFibU9I Fh6HWEE87SLzSBwPdG9nTOHBdThRT+ndFdhdQLAOQHVfrQs0EoKzdc4HoNyv8Qdm9ZVt 33SUJz1timmoaGkKz/pZnz49FC62Kf9ewNF7afhuBQlaAxSf8aIiL+Q6PLREDYwWS4CX MSjtm4oTNgKbg6esVjgLclP4v9XUNAI1AIvLzNfg6XrbSB78sss6eB/t6C6LgSoXLg1Z 9mb1CEu6WV4wVbT4nmvDcwIkizFLv4L9H6fLSRpYVuQIacc2uTan3g98uLYWOCf+kvAH j8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=upxYZJzQ; 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=QUARANTINE 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 f184-v6si9990181pgc.309.2018.05.20.15.35.44; Sun, 20 May 2018 15:35:45 -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.s=20161025 header.b=upxYZJzQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C20C374DC7; Sun, 20 May 2018 22:35:29 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f51.google.com (mail-pg0-f51.google.com [74.125.83.51]) by mail.openembedded.org (Postfix) with ESMTP id A727C6010B for ; Sun, 20 May 2018 22:35:21 +0000 (UTC) Received: by mail-pg0-f51.google.com with SMTP id e21-v6so601555pgv.0 for ; Sun, 20 May 2018 15:35:22 -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=qlZBgWDE5WxE4mmE4/pOOiYiCoG8MTG0ca0RgSGZ8Dk=; b=upxYZJzQdNk7+ZthnorPZ7J8gCuTdfvKSMvFwDbQMFV95nmKkfkZnNOZKb/wNJ5qE4 A+3o5wkwoMt/lIYpk3ciEpVlz9LnNySSWEKw0cgNFSCdQ0RfcxfUh7+cmbcJVVcyT2EK ePKgLJFFGBp0pUj28qLHcQ64nHROor2abR4Bvq7enpCcArshJWMDAlE8xqJhGS7yNSZs BO6+9SrS33uHNTN9T8DsXTXJjg8rCXUrKggIyM47LDxkyMJdrl3RV2ubFKSnx68qcakt n+mCZuMC1UyDCqsTUMIf5hOKqaBlWZQpmVLAfVszendifBRG+OpE8VDyLYFnGflOfEan QtDw== 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=qlZBgWDE5WxE4mmE4/pOOiYiCoG8MTG0ca0RgSGZ8Dk=; b=T6mximEQxbvdsleA/f9wtt1QvQWgrchEXnt1bMECJlx+qUw+73FdZ8e/lJTD/kW1+W tT2RV9kJ//dTLTOO4mgRFBixqX+gd7/kkBMbQbg0c9Jeo53Ws4OeaUtyFetovTGzCT0c K6INHG+wmoYbdoI7sp1ObHaTZFPtHR65OO84uoPPBRkbvuNBIPAQBJ47UWfzc8iGuAhQ tFoAF0j5bV1mbkVe5HDA56nKQIYzvFCAw3bfM+CQDz1sinjkVpJq6mxGX89+p54MdzCG LmBXo9Mr7yOeCcHeLmSeA3HCuPGc4gWMZxH+beKw7CvqvDuPICH4UpNW/FItOBLlkl10 3V0Q== X-Gm-Message-State: ALKqPwdAUdAwkRu4VoHIDOMq8lLOJO3e6ojje7ZPBhMm0gqRYggvJtaN 5/F1dXffvW8oY5F37ZywBaL6UA== X-Received: by 2002:a62:9696:: with SMTP id s22-v6mr17612756pfk.191.1526855722248; Sun, 20 May 2018 15:35:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id 203-v6sm21887763pfz.131.2018.05.20.15.35.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 May 2018 15:35:21 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 20 May 2018 15:35:15 -0700 Message-Id: <20180520223517.9869-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180520223517.9869-1-raj.khem@gmail.com> References: <20180520223517.9869-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/6] gtkmathview: Fix build with clang 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 --- ...formatting-for-modern-c-11-compilers.patch | 31 +++++++++++++++++++ .../mml-widget/gtkmathview_0.8.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch b/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch new file mode 100644 index 0000000000..8b0096630d --- /dev/null +++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch @@ -0,0 +1,31 @@ +From 90411a7f5e0e9582e79f0a8ccc1e2f158615e451 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 19 May 2018 23:18:11 -0700 +Subject: [PATCH] Fix formatting for modern c++11 compilers + +Fixes +error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/backend/svg/SVG_RenderingContext.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/backend/svg/SVG_RenderingContext.cc b/src/backend/svg/SVG_RenderingContext.cc +index 55d6097..0d50702 100644 +--- a/src/backend/svg/SVG_RenderingContext.cc ++++ b/src/backend/svg/SVG_RenderingContext.cc +@@ -68,7 +68,7 @@ void + SVG_RenderingContext::documentStart(const BoundingBox& bbox) + { + beginDocument(bbox); +- metadata("Created by "PACKAGE" version "VERSION); ++ metadata("Created by " PACKAGE " version " VERSION); + } + + void +-- +2.17.0 + diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb index df82bef634..9ee9e30352 100644 --- a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +++ b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb @@ -13,6 +13,7 @@ SRC_URI = "git://github.com/GNOME/gtkmathview.git \ file://0001-include-cstdio-to-get-printf-definitions.patch \ file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \ file://0003-gcc-6.0-build-fixes.patch \ + file://0001-Fix-formatting-for-modern-c-11-compilers.patch \ " S = "${WORKDIR}/git"