From patchwork Mon Jun 19 01:05:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105792 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp658298qgd; Sun, 18 Jun 2017 18:05:46 -0700 (PDT) X-Received: by 10.98.163.25 with SMTP id s25mr22650138pfe.217.1497834346566; Sun, 18 Jun 2017 18:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497834346; cv=none; d=google.com; s=arc-20160816; b=wmVQ07f9+7E5QghTa03zN/lLOX7UDjGKdt+3u7g/VSM8h36X4llubZSdBNq5AvXZhf +0OWJ8e3Abc6JKOCmw6i7xrimlmgF0rnHfQVg78/G93EKVp4qt5Xn2e/tqmrn3vs6cuh F5hI3E3gK4db4QhcakB7zN7u1ZUxgpIeYltoa9ZrhR4EN5qn63XzAsn1SRR5XgjCAtGN LAvEEUs6S8Q4KEku1wpwNzH9WHZbK2I5h8eNkZFDLa7JqvoAWl2kYg5rUWQSBeiBgatx QB4HUi23dOhyJByhZbFzIF8H38bqskShzQNbrBf8HSx69unghNWNG8EZmu7cuRRVui1p 9v4g== 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=g9jlkgW2w8CY+dsM7v+pDQL5hNM+N9O1kiS01TEMZkQ=; b=QpC++USlRDknoZ4uQyNUnIE8eaqB3LwjxDA4QnbTLcaucX2UtHJtlkbmiB/GID8yOf qPZWlIBURjt0lWlvVwQufbPMn0pt5k2f03uUn/cC3aBuShXfd6LGhx0j7eDoM74jdHSx U5QKjWvg3Vsq6hqvcAj3CzrdUWBNz3aNcyyNSNxZDxq7xujB+RBL49CsAL9I+zqV0sDa JSANQhCzVv/dmBRXNn69gXy9bgvHmnY5IpzVc+GhKS0MGw+Opjy7CcIf744AjJWJF8w5 BA7eJiB2uztUrtlVbHJ+qkFtD/cZsNgF4dsjKU9jwbRSFjID7sO4WwuSgdfhLTC6OBv4 BrQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=kBqi7EmM; 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 n20si6706486pfb.298.2017.06.18.18.05.46; Sun, 18 Jun 2017 18:05:46 -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=kBqi7EmM; 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 0957A6FF9F; Mon, 19 Jun 2017 01:05:31 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id F41B06FF9F for ; Mon, 19 Jun 2017 01:05:26 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id y7so14374556pfd.3 for ; Sun, 18 Jun 2017 18:05:28 -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=TmchiDn2yERIvNukNzPRxDqBYxEb0KxgXXHhLJc7qU0=; b=kBqi7EmMvAVeQGoeMwSLKxKSqfkouERPb+t6qVp0fT/u7S/G55PTNK4xaNzbNhG6Fb 8MSDRRvcEApQpUU6IPL7tX30f8WpFDpOYvqW6oxpZ2gVZYbG/KI6P7bPm3sMbGTv9PHa avvNFRXft1zRBrIt//saOlsvy72yfEFUcA7gCVzjiAUwn4lVB1+QKAEYW+JZYyw/6tso cFC+xwJ+Rbew1SmPL5i8TueM8ffV4o1FmAiZ0pWkTGCpft4wgB7k8D0h3E14MUehtJW2 S7x+JN+CvGbqhVIpmFqfEEanW56/mbgcbCVXs+g6CLO7OoKY93xEPl8XA63XiCruhCgf GAaw== 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=TmchiDn2yERIvNukNzPRxDqBYxEb0KxgXXHhLJc7qU0=; b=aLAE+v0RZzxaSJorfFDLv3cDFgwyTv8QelpQVbX73xnn+3i7KrBp0vks4tso7meXPs 8AIP9l/uB9tjyE90BngD2Sqe642dV7lhFJTakANQ6RayjiQl5hG7I37PFY5wMdurQhFE PvAVUlmnCil8W3pzx8fspT6srDD7vL4YbESN+4LNPAjLf+dv33hmKjY9S9LD9Rv/diR/ gyQgbY4cRQ086ugilHtn9QYM8wdLFPTRFJAQLbkixBsp/0by98GIdqDQufnhXVa7uvFE oXGBJWIS5ead5FD8j/4sxrHp753Drox7IQ0hpynKXlH9xvCreXlkMdqN+XQztQYypkay E7hw== X-Gm-Message-State: AKS2vOxPkuPUtzRkUbfgvADceLsyWjeGRHDUxEWxY/95pKdxO1s6dXvv ljxBEAZkaa+shuIg X-Received: by 10.99.65.194 with SMTP id o185mr22979594pga.278.1497834327434; Sun, 18 Jun 2017 18:05:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::36d3]) by smtp.gmail.com with ESMTPSA id t128sm15389319pfd.64.2017.06.18.18.05.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Jun 2017 18:05:26 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Jun 2017 18:05:14 -0700 Message-Id: <20170619010516.11453-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 Subject: [oe] [meta-networking][PATCH 1/3] linux-atm: Fix build with hardening flags 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 Port to build on musl while here Signed-off-by: Khem Raj --- .../0001-ttcp-Add-printf-format-string.patch | 34 ++++++++++++++++++++ ...0002-sigd-Replace-on_exit-API-with-atexit.patch | 30 ++++++++++++++++++ ...p-old-hack-to-compile-with-very-old-glibc.patch | 37 ++++++++++++++++++++++ .../recipes-support/linux-atm/linux-atm_2.5.2.bb | 3 ++ 4 files changed, 104 insertions(+) create mode 100644 meta-networking/recipes-support/linux-atm/linux-atm/0001-ttcp-Add-printf-format-string.patch create mode 100644 meta-networking/recipes-support/linux-atm/linux-atm/0002-sigd-Replace-on_exit-API-with-atexit.patch create mode 100644 meta-networking/recipes-support/linux-atm/linux-atm/0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0001-ttcp-Add-printf-format-string.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0001-ttcp-Add-printf-format-string.patch new file mode 100644 index 000000000..87e7dc3c6 --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0001-ttcp-Add-printf-format-string.patch @@ -0,0 +1,34 @@ +From b83fd54584fabd5d24f6645b4a3cf345c9d2020d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 17 Jun 2017 16:11:59 -0700 +Subject: [PATCH 1/3] ttcp: Add printf format string + +Fixes compiler warnings when format security is enabled + +| ../../../linux-atm-2.5.2/src/test/ttcp.c:666:21: error: format not a string literal and no format arguments [-Werror=format-security] +| fprintf(stderr, Usage); +| ^~~~~ + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/test/ttcp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/test/ttcp.c b/src/test/ttcp.c +index acb9185..337cee5 100644 +--- a/src/test/ttcp.c ++++ b/src/test/ttcp.c +@@ -663,7 +663,7 @@ int no_check = 0; + exit(0); + + usage: +- fprintf(stderr, Usage); ++ fprintf(stderr, "%s", Usage); + exit(1); + } + +-- +2.13.1 + diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0002-sigd-Replace-on_exit-API-with-atexit.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0002-sigd-Replace-on_exit-API-with-atexit.patch new file mode 100644 index 000000000..ce061231c --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0002-sigd-Replace-on_exit-API-with-atexit.patch @@ -0,0 +1,30 @@ +From 27fa80dc8045e71c30dd2abea835206d5c8f6c71 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 17 Jun 2017 16:18:56 -0700 +Subject: [PATCH 2/3] sigd: Replace on_exit() API with atexit() + +on_exit is not universally available + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/sigd/atmsigd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sigd/atmsigd.c b/src/sigd/atmsigd.c +index 52e41c7..b766606 100644 +--- a/src/sigd/atmsigd.c ++++ b/src/sigd/atmsigd.c +@@ -517,7 +517,7 @@ int main(int argc,char **argv) + exit(0); + } + } +- (void) on_exit(trace_on_exit,NULL); ++ atexit(trace_on_exit); + poll_loop(); + close_all(); + for (sig = entities; sig; sig = sig->next) stop_saal(&sig->saal); +-- +2.13.1 + diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch new file mode 100644 index 000000000..0302286dc --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch @@ -0,0 +1,37 @@ +From fe954b2fb17d813aaab3e926cee76144314a115a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 17 Jun 2017 16:22:55 -0700 +Subject: [PATCH 3/3] mpoad: Drop old hack to compile with very old glibc + +Use poll.h instead of sys/poll.h + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/mpoad/io.c | 9 +-------- + 1 file changed, 1 insertion(+), 8 deletions(-) + +diff --git a/src/mpoad/io.c b/src/mpoad/io.c +index 69900c2..8d1433f 100644 +--- a/src/mpoad/io.c ++++ b/src/mpoad/io.c +@@ -10,14 +10,7 @@ + #include + #include + #include /* for OPEN_MAX */ +-#if __GLIBC__ >= 2 +-#include +-#else /* ugly hack to make it compile on RH 4.2 - WA */ +-#include +-#include +-#define SYS_poll 168 +-_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout); +-#endif ++#include + #include + #include + #include +-- +2.13.1 + diff --git a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb index 6ab8b07d0..9fce4fba6 100644 --- a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +++ b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb @@ -11,6 +11,9 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P file://link-with-ldflags.patch \ file://install-from-buildir.patch \ file://0001-fix-compile-error-with-linux-kernel-v4.8.patch \ + file://0001-ttcp-Add-printf-format-string.patch \ + file://0002-sigd-Replace-on_exit-API-with-atexit.patch \ + file://0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch \ " SRC_URI[md5sum] = "d49499368c3cf15f73a05d9bce8824a8" From patchwork Mon Jun 19 01:05:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105793 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp658823qgd; Sun, 18 Jun 2017 18:07:34 -0700 (PDT) X-Received: by 10.98.80.140 with SMTP id g12mr23005938pfj.146.1497834453887; Sun, 18 Jun 2017 18:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497834453; cv=none; d=google.com; s=arc-20160816; b=qc/MP7FCTETGP+lgKBfevgHjqZEpyE5b//poV4CQBIRs6k+0W5/4NxJLUEyBAqnZJ7 +VuO+eUJBl4YYenV4wFRn1tvnYmdnkrz2BTY2PxZR4jP1H+gQ+cACyhv1u39jDrPYMGL acTXGBTJywRrjWXFNo/oUGzEljkK1lupxsr7RsRv/lDMJG9AllDqRcWaxIw4IIgA/dju jslLF90pIYhgyOCSaCuzPc+a5G93JZAsqYp6kG4to0AQ9VvWcYSRPfUsaYK/SYEWME+P geDUGX65U4vtiomC5RB+EHGndxrsfovObpxJMfDKXLcvzGObkhEzZdPMqmVGNbm7UQqJ 2xdg== 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=i5SKNOzxXerLMnCN7Ry6hGHwHUsNKH8a/OD/g4u1C0s=; b=Xk0MqvfJ+S6F8EZFuTATWiq6YOCXAjJo568QOweQLTT/1gfBG1Vl60QCuerJmjNeOD znOeH7t7BGXlL0Hq/uLH0gsc8jUmjUqDjdr5t/kYF44JrjEtMozcdyqTiSUXpfzr275/ ftkZp+TWi3zncgUTho/v0BmVYy7QbFoGFidrj8JcvDuj7DUu0Aw+l9DUhkYlNjGf5Vff oma2N2P+SOmcG+XSWzDDNS7nDokTG/PHPpNl7mgv14RR4dRj5nClERfsbEEKe00nKT6c /1axhdY9oN89KBIAiRulB2sDscO3XtiBt8A5yPS8oB9qUtcUqa87IIA5WGvxWkdhOqf7 XueQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=FrWk8fFM; 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 w64si7089796pgd.208.2017.06.18.18.07.33; Sun, 18 Jun 2017 18:07:33 -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=FrWk8fFM; 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 C140378282; Mon, 19 Jun 2017 01:07:30 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f49.google.com (mail-pg0-f49.google.com [74.125.83.49]) by mail.openembedded.org (Postfix) with ESMTP id E8A4A78280 for ; Mon, 19 Jun 2017 01:05:27 +0000 (UTC) Received: by mail-pg0-f49.google.com with SMTP id 132so7716211pgb.2 for ; Sun, 18 Jun 2017 18:05:29 -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=HcHNNEmo2GJzPneSqDzMKOqBaC8468yXhEY2rfX6haM=; b=FrWk8fFM/x1Mznhq+90vljXsLLwQNgyi5EbwWFYjnFRnLxRZx72fIts4vaTnDgmNqh CegL63uAdFL77C8byZVuNuIEW8NnEhmHeDddGfkgXChiU4FpJrgz4Rl5+6EZomyxu6ct rTstPqPU7y7QQlUcB9ZNCVa21pyGqiYMGY8hnapxNVr3beDENpuX65KmdZeuvlTnzz3s LnGksz0o0E30ifjrXUAFcrd5fc/rdU9tVr9akge1oG4Tgl26u9fDoWmaStVogNwRtAGD gZe9vOclmopxnbXwAa/qDFe3HxTF2rUmKDYHwNf0dmLn5/Ibik7REjRx3n7VXEryOwA1 lMHQ== 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=HcHNNEmo2GJzPneSqDzMKOqBaC8468yXhEY2rfX6haM=; b=PubJryeXz5HwgHICsvGVjKwirUXEOyfWo/UxuJcrFMDCTvdhFuIMSK/di+mH0wqYRi VbJEM6uyLs8T9UjAHM5AO2vPprRz5rWljA1d3MFUvXWGRtB8vLvbqf50hTRue8rHmQjX sVNrfYEld+u66Moz0Yd67w0cbFX14jHdh8NpkWP8OYkvudUFXOmoeEoGlm+ZVe0UnnHA i4HlQup/7ejNKeEKvofJ0+Q/x2uutsv1RQSev8W/9vFH3NRD7kNJRyFPH1s9LA8T1d0/ YmeU6ZUnrb6Mg7DCA6smCSGmJfeaNM+ITP30OLpFGiFoHn4XpgeCtCNomJEHdRZd6Tgw JRPw== X-Gm-Message-State: AKS2vOyJ4x9Tp9c8lySSp3QtYkU+M0xA+VWmKxHbzSen5/JOA4enaT6t MnIbapemXvzKRUmO X-Received: by 10.98.218.25 with SMTP id c25mr22940734pfh.118.1497834328801; Sun, 18 Jun 2017 18:05:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::36d3]) by smtp.gmail.com with ESMTPSA id t128sm15389319pfd.64.2017.06.18.18.05.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Jun 2017 18:05:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Jun 2017 18:05:15 -0700 Message-Id: <20170619010516.11453-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170619010516.11453-1-raj.khem@gmail.com> References: <20170619010516.11453-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/3] sqlite: Fix build with hardening flags 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 --- ...c-Fix-format-not-a-string-literal-warning.patch | 32 ++++++++++++++++++++++ meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb | 8 ++++-- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-support/sqlite/sqlite-2.8.17/0001-shell.c-Fix-format-not-a-string-literal-warning.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/sqlite/sqlite-2.8.17/0001-shell.c-Fix-format-not-a-string-literal-warning.patch b/meta-oe/recipes-support/sqlite/sqlite-2.8.17/0001-shell.c-Fix-format-not-a-string-literal-warning.patch new file mode 100644 index 000000000..c5d7c0c81 --- /dev/null +++ b/meta-oe/recipes-support/sqlite/sqlite-2.8.17/0001-shell.c-Fix-format-not-a-string-literal-warning.patch @@ -0,0 +1,32 @@ +From 443980ddc82fb40e2e1f9544f2be169bd23dd246 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 17 Jun 2017 16:49:24 -0700 +Subject: [PATCH] shell.c: Fix format not a string literal warning + +src/shell.c:695:20: error: format not a string literal and no format arguments [-Werror=format-security] +| fprintf(stderr,zHelp); +| ^~~~~ + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/shell.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/shell.c b/src/shell.c +index bb46c49..3c6fe0f 100644 +--- a/src/shell.c ++++ b/src/shell.c +@@ -692,7 +692,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ + }else + + if( c=='h' && strncmp(azArg[0], "help", n)==0 ){ +- fprintf(stderr,zHelp); ++ fprintf(stderr, "%s", zHelp); + }else + + if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){ +-- +2.13.1 + diff --git a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb index e6e14c2ad..501c0e3e7 100644 --- a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb +++ b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb @@ -8,9 +8,11 @@ LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=10;md5=e98469a8efa024a PR = "r7" SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \ - file://mainmk_build_dynamic.patch \ - file://mainmk_no_tcl.patch \ - file://sqlite.pc" + file://mainmk_build_dynamic.patch \ + file://mainmk_no_tcl.patch \ + file://sqlite.pc \ + file://0001-shell.c-Fix-format-not-a-string-literal-warning.patch \ + " SOURCES = "attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o \ expr.o func.o hash.o insert.o main.o opcodes.o os.o pager.o \ From patchwork Mon Jun 19 01:05:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105794 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp658852qgd; Sun, 18 Jun 2017 18:07:39 -0700 (PDT) X-Received: by 10.101.73.77 with SMTP id q13mr23764615pgs.9.1497834459686; Sun, 18 Jun 2017 18:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497834459; cv=none; d=google.com; s=arc-20160816; b=RF33QwT6dxzbEhqlKDd+ogo+OilZytYrx7wlyhOOJ2vW5wVvi7smXpa33pZca3X05L VME6zZWqMPRKlpVH5zAvh/FUICd5PpMAWg9yq+r+iu7v7KppzAQ/ytZtr5cHy6GfEYbr 06qZpDSx0KbBpdJyg4ufGOdBdJL7HM7VLbEsM79sGlNFNgGS/Qbc3vSlIglUSwzUkqUr cqX1/ctA7pJbtZ/tD4OVLn1zM+AZkcZw3CAu92Ne2p/WsCBNiv54dSQ4rA5eznMkFAIG 2ZjxsVRYm0w14de62PouKJxopGdWMuReK444zy9W5Bbtrh3I+0PbuFGQCQuaKhmpjvuh Ep3g== 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=FFIDJ2ReGBJsx/szdoPIIX8hXQ71sCLt1g5t+SkHVrc=; b=zwVloafaDAh5G/b5rMtRejGb/0flJ3/e60O+fw/Mfv/EUawWiThMYU1HT/XzPoAbf7 N+kM16+wa23vadJL3U15AyuBRuteBKry9VMtOXOJ3xeQQt1bk62LGQM38y2oXbjYFC3K Tx+RoqPHwbeU8TNi4iIaRksCSXy7X7h5wfDoeFYXRN66LfESmo8NbhIdFnYlX/lbP6F3 IXC4prbb2AKAxBEkX4b71qqoAnQMYrLG4JS9w1wphw4cjNSJw3r/jRlUc/0apyJhhj/S MLtJGXd13n/P21C9fQWoGs+Vc/N/AFZU3dG3pM55OW7Qw36tVlDVopPGH0Cs1GycwpXk IDBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Q1K1e0OU; 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 k190si6792267pge.371.2017.06.18.18.07.39; Sun, 18 Jun 2017 18:07:39 -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=Q1K1e0OU; 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 6386B78293; Mon, 19 Jun 2017 01:07:33 +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 789506FF9F for ; Mon, 19 Jun 2017 01:05:28 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id f127so13553345pgc.2 for ; Sun, 18 Jun 2017 18:05:30 -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=Kke/Q35HKcDKb9L9LinfdcoMvxZd5LgqkQMaebrVPUU=; b=Q1K1e0OU/vu8wZM5bV419kHRBGjxXepiYKCQWgKmYV/eWxQEZi/3+5SmjTLINljiOH acMK757NaNOw0WTP0ejDksidljYn6zerRURv9QECkquwnIdPokhGVhFUMrj8WTLSD7j6 plHYK7wVqdhsFT5uE6dTuP2GL9hWZnYQoyDPn3fgwMY4KB4XC57aYXC9fmsx0l34FjCV zFGFNiNz5BoAGx0kpucRh9MxsqSYmpv2RAxfSbxzuI9eK5K8hoNo/+o/kV+UyUtODadd vKRO6UuhKt2+nWON4xSkYD7T/HReF4Kl0+Tl5u7jAu0KV96XIJrksUrA6nlWZmadPNfA b7kQ== 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=Kke/Q35HKcDKb9L9LinfdcoMvxZd5LgqkQMaebrVPUU=; b=MZKp7kU+j4SJDQuII9QlYDZM4wJn264NlPFB+7Nhsw+fI50PaqTzYZk24K0g1KxcTS DcAYJudRfNgowiPEIHx0tAKsaWO5MaEp8n7asQJ21BHMze2LpJx2OUMX7C2A3kNtlEJ3 OkihZJ47ewtlusZkSg1PBETzLtORwWCANstXJL0VEZAuzdNs42i2rsSB5dwsnxmEdeQs JtNzWn54zuh4eW/t7tGKPlSI6t1NMnb8bQaCBsBEzf83mDg+WaQoIFj79RRR1jC6ag1D mIjHIXdYbaVVj5fZe5q/34QnkzRGXzBCjNETw7E+edBATLc0Ho3KseoJgzqnvo0JYCnm OvgQ== X-Gm-Message-State: AKS2vOyIIFbtMGkw2J4upYezlWiZQeDxpUqAq+6uh/FvyunVGsL3wbFh KTfz0JBB9Wr2M8re X-Received: by 10.98.117.11 with SMTP id q11mr22426677pfc.137.1497834330048; Sun, 18 Jun 2017 18:05:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::36d3]) by smtp.gmail.com with ESMTPSA id t128sm15389319pfd.64.2017.06.18.18.05.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Jun 2017 18:05:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Jun 2017 18:05:16 -0700 Message-Id: <20170619010516.11453-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170619010516.11453-1-raj.khem@gmail.com> References: <20170619010516.11453-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/3] xmlstarlet: Update to 1.6.1 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 Enable PARALLEL_MAKE again Signed-off-by: Khem Raj --- .../xmlstarlet/{xmlstarlet_1.5.0.bb => xmlstarlet_1.6.1.bb} | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) rename meta-oe/recipes-support/xmlstarlet/{xmlstarlet_1.5.0.bb => xmlstarlet_1.6.1.bb} (69%) -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.5.0.bb b/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb similarity index 69% rename from meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.5.0.bb rename to meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb index bf99aff43..e3d52e616 100644 --- a/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.5.0.bb +++ b/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb @@ -15,8 +15,8 @@ DEPENDS = "libxml2 libxslt" SRC_URI = "${SOURCEFORGE_MIRROR}/xmlstar/${BP}.tar.gz \ file://configure.ac.patch \ file://0001-usage2c.awk-fix-wrong-basename-regexp.patch" -SRC_URI[md5sum] = "0c6db295d0cf9ff0d439edb755b7e8f6" -SRC_URI[sha256sum] = "47b4ed042ea2909257f2a386001af49fceb303f84da7214779ccf99fffc6bbba" +SRC_URI[md5sum] = "f3c5dfa3b1a2ee06cd57c255cc8b70a0" +SRC_URI[sha256sum] = "15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca" inherit autotools @@ -24,10 +24,3 @@ inherit autotools EXTRA_OECONF="--disable-build-docs \ --with-libxml-prefix=${STAGING_LIBDIR}/.. \ --with-libxslt-prefix=${STAGING_LIBDIR}/.." - -#Makefile:2116: recipe for target 'src/elem-usage.c' failed -#make[1]: *** [src/elem-usage.c] Error 1 -#/bin/bash: src/escape-usage.c: No such file or directory -#Makefile:2116: recipe for target 'src/escape-usage.c' failed -#make[1]: *** [src/escape-usage.c] Error 1 -PARALLEL_MAKE = ""