From patchwork Wed Jul 26 18:58:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108785 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1147815qge; Wed, 26 Jul 2017 11:58:47 -0700 (PDT) X-Received: by 10.101.83.138 with SMTP id x10mr1764993pgq.201.1501095527242; Wed, 26 Jul 2017 11:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095527; cv=none; d=google.com; s=arc-20160816; b=FfPwLIHavVHdzBmMISZC5DVUoBlR3l9YbkiktpmPAEROmkaEWm+MXhsZPORfAhfkxQ N+8fJh4O0S6uIblh1+X6VxcMl2qf0Z+N408VctDcWUsO41ZxYi+bY8CM0wcU2H4ZW+di 8csLT8QlWmPrUO3GXGIxVjdltaLHS2uCjjK7xDCFSjTQLMzbpSdD2qwk5NslJf9ZY2YK 3WGgY7bRFs4vajo4kERkgJ00GUXBDYrD5tBoVpU5Y3DxXWzWbnnDPM60jmXGxINKrjdV dI1DvQAq5Z4DFdg+uFBrTfNbogdVMJyKu1eRC9Bl1R9kEE9hUOJPOvQKXQuBE9ZFhAd4 0bxg== 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=mjkalC/Cs1DuKUX/4o5JT5QCfIUt4SYfpAsSCswUFk4=; b=Iyzfsj0wzqxPqMv5NUEedft38UlwDuQ2iMQtk2EeUGQdxJgmKfnWmKy1msBKqLwfxd GW+OFy9u+b6UzMmq07rzwnY7ISL3yAIuc9QG3L7NqKZ45gbOZUEJJXuwlpVnQR1moogJ ThaMvVx3sxptbCj0F2GCRO7H1fu91ku1v4BSyKsLVgbFG3Tt8vnbZqPpSB+fX1DsTqJp y4+2EMADEnPU7pBGoDv2hfzBZ0UsSQqdz/cil8jBtcQZJQ3NLXpkNxT3UOFLX4K6Nsd0 uqcHhHbzooh3v4qRs4KO5vBdLDJC142gO3j954EdGquEj+WHtSnc75C+TW+decdC1SZa V03A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=HKkNrXKE; 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 g11si10523536plk.281.2017.07.26.11.58.46; Wed, 26 Jul 2017 11:58:47 -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=HKkNrXKE; 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 ABBCE780D9; Wed, 26 Jul 2017 18:58:44 +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 A764E77E24 for ; Wed, 26 Jul 2017 18:58:29 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id y25so8736558pfk.4 for ; Wed, 26 Jul 2017 11:58:31 -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=ODbBeTJ3TN4Mp2UGK5PN4jCQqVpqnHIUfRVpQXbZCA4=; b=HKkNrXKEtie7l1jItf/otaGmyNHoKveO4QC4fq09xY1mS+NoJtYb3xA/7RFlf7JbH/ 73y10S5E+Dm/5YTqhsDd/QdG4JOw2THdk058P6xvrSYuE6MgyioiPb3+fFRl49Mv0vEN zcOQy7p/8MQY8X3sjlrYTUn+dnz2DU9iv0TXDeL4g2gHSEi80TmfNdTL+mRM2cTde2Ph ILgvnIhP0qXrrH3QkFPtpcgxXqcnZldJ4DBX02xNJBhZNdc5yiXndIDVI+uoNVX0w/Ni DbcIZh/1VuanBOtdVS6c/G2UWmV4ekFb1cxu6HWArns5+wxKg5Mxzqsq8bJmzvVT6dWK kIIQ== 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=ODbBeTJ3TN4Mp2UGK5PN4jCQqVpqnHIUfRVpQXbZCA4=; b=uFuid6BEW7IvkdxuvjwlWf+KQnxF2jPHHpo9ker7HUN765HNzcz3R4w8u1X2I2Ixar IlHi2aVavf+f0+EVgZcQoGVf4Do2OS7TMIZn2aPS4Sbo65Zre83e0Et7A5y0105Tn9a3 3wtua6JlBKhL0Hopi+BE70xJAKUrP6juq1zXDUu+JiponqhAmPoibSbC5leqOKsgWZR8 rfCTVUu7hJjnfbtbq/CQ8NdvsHnkHPBzlYaxGgDl+PeEKA5K8gqt6OTVlYg7ukwYpN+L gnUQisF3clqovPO1FTY6DMAQAnRb3/gvcwVSoKAZIEZXHCk9UnjTAhwV2lOl+3iaasVo oKEw== X-Gm-Message-State: AIVw110TZj4/JruD8Cy+vPuvbXGT39OYNmKk+6Bw4jW6gWhgnjO1Z4f4 TBH7hrBI4jgtdJJe X-Received: by 10.84.210.38 with SMTP id z35mr1866700plh.416.1501095510168; Wed, 26 Jul 2017 11:58:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:09 -0700 Message-Id: <20170726185815.8898-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 Subject: [oe] [meta-oe][PATCH 1/7] minicoredumper: Initialize struct config 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 error with clang Signed-off-by: Khem Raj --- ...per-Initialize-pointer-to-config-struct-t.patch | 29 ++++++++++++++++++++++ .../minicoredumper/minicoredumper_2.0.0.bb | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-kernel/minicoredumper/files/0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/minicoredumper/files/0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch b/meta-oe/recipes-kernel/minicoredumper/files/0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch new file mode 100644 index 000000000..ad255fae0 --- /dev/null +++ b/meta-oe/recipes-kernel/minicoredumper/files/0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch @@ -0,0 +1,29 @@ +From 6181d9c3c407ee030b4c3a94045318b9e3a3cc89 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 14:08:54 -0700 +Subject: [PATCH] minicoredumper: Initialize pointer to config struct to null + +Fixes +corestripper.c:3632:13: error: variable 'cfg' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] + +Signed-off-by: Khem Raj +--- + src/minicoredumper/corestripper.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/minicoredumper/corestripper.c b/src/minicoredumper/corestripper.c +index a764073..ddb0d25 100644 +--- a/src/minicoredumper/corestripper.c ++++ b/src/minicoredumper/corestripper.c +@@ -3605,7 +3605,7 @@ out: + + static int do_all_dumps(struct dump_info *di, int argc, char *argv[]) + { +- struct config *cfg; ++ struct config *cfg = 0; + const char *recept; + bool live_dumper; + char *comm_base; +-- +2.13.3 + diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb index 58cd45a53..3bf9f66b9 100644 --- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb +++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb @@ -16,7 +16,8 @@ PR .= "+git${SRCPV}" SRC_URI = "git://github.com/Linutronix/minicoredumper-debian;branch=unstable \ file://minicoredumper.service \ file://minicoredumper.init \ -" + file://0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch \ + " S = "${WORKDIR}/git" From patchwork Wed Jul 26 18:58:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108786 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1147887qge; Wed, 26 Jul 2017 11:58:52 -0700 (PDT) X-Received: by 10.101.77.72 with SMTP id j8mr1755588pgt.133.1501095532093; Wed, 26 Jul 2017 11:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095532; cv=none; d=google.com; s=arc-20160816; b=kp/CJevcXeZOl3SdVaCTJx9ZN0GjUN3xi8Cr+K3W8pllmzhd+E0mV5/OtPi4IYl1Df IdlS1BV3FrjJx4gt84ndqjP6MotBKjEBNC7hN0ze7wWG149q/dhYXuKrV/e2JbOM2kXA xmZjDTysCc/5vimZzSd9PwvUdH5xeyA4Tu3uSyL3G9vC2JtXnYamhVQEGSc1uL3kMm// aVJ2iOhfKNUrmKyaa1SdjryzvLV5Cr3IA99uVg2j1h4dUmR7kSKswKoR0rnmzcj2e+Qj sitm4aUNT0OvsAewe5PCnwKkfRbvszrEd7Vl5xqxbAZWYnRZztg2P2x207CzqJ/VlwC4 bSrw== 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=Sd6JayUFnie/iFmQPUL1r6h7ZFmQIYj5YJhIqUTZv9I=; b=XQk0NESmrU59lhL3A8+7c43m08fjdzseDo4EKH1qCTqNbhKg6WNERAkPeXpAarVPVo jNOEp30R8Ao1DCHqH7lJXSq8PEQwrWSZz+sRxHY1PJ9bsy6jkx91px9DW+Z1QQWfMjnt iv8AZ1tCkewR4c7gKf6oqRu9WFIVa9mO5PclQtWpqtFotoFt+RAE3uq0mRtuXQEp7KOh jsFdsydVqfZFV3iN4bUV+nZauC1q9/EaZKH5J8ObbNaBm7hS2dblIKl4zjNQcNvW+ivm GeTNKwIujUpToazCOnrBwjFLVC+Yjsqxe3HgCwZJifTP+zTJG8S2w8NtXHGGyvW8VZyC /ZWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=oMV2TKXl; 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 y10si1319657plh.339.2017.07.26.11.58.51; Wed, 26 Jul 2017 11:58:52 -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=oMV2TKXl; 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 F368E78221; Wed, 26 Jul 2017 18:58:46 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 9349977B27 for ; Wed, 26 Jul 2017 18:58:30 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id c23so16109230pfe.5 for ; Wed, 26 Jul 2017 11:58:32 -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=FmELsBSbIHDJnxmhq2Ddceov1p3OWZ4g1iauEm58XWY=; b=oMV2TKXlfrqZ+fBxb5Ja0B+gVZpSNFcDjTAhGV/j4fNyTMYCvszDq/UFuS9mDygW+U Ly8yMIWeSwQYvFfBTNIclXSFTQTzHocVgEKNopNZ1gzxu4vbtvZp11wr05OVDdiDdo2O V07Sw3XrVIqwi2vMyB5BQ44R+NL5gSNObjnxl99Aa8UB7NieawVl87HXCErN1YNeQefR fCKMx46OdhiVMNnkC5X+4D4nzIxjclgzZdYo0n8lSqEq/BjV5Gwj+cj0a9QXkGYU5Myn ktsBagn/RNaiPu2EVwbVqaINocaeNj7bpRXTCmG6AhV1DDMG3RuQ1URuVgktuemsZR+B hX3Q== 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=FmELsBSbIHDJnxmhq2Ddceov1p3OWZ4g1iauEm58XWY=; b=UDRekExBuU1eI1aHJv8VIKmgeVQSEMlqYRVCuASXs5l4fi0mzYubcFOfZEY5vPBnJk Vjs0wsIpgHYgSekQKIil45xMrrOit3kQ+nZrL5FkExmXPa1eYBr7dwKZm6QBB1g6tydk Apcow/UjmvX24BjXkuR0EVinziA63m9vRK6by8Cg0dY+q7yL0JwnWKwSP6v6P1InWj9e /yTq2UcRPxGZ8xGo/JdAEFvCmpnwIQ32HIhn65zRG2jhc0DWMxcIc0BVXl9osJ5IEKUG PNtfm+L9P5v/53VcgKxNpO/AGlHcewLq7dK8WMWYazi9hxeXg/D+Cwsq+YYnXzH138ku fvnQ== X-Gm-Message-State: AIVw112Jfk5k4unmR+02TL0u2xUmgq/Mm+UH59E+C2R/Dcv3CviQlNTH Aq3qDud/Lwc6yfar X-Received: by 10.101.86.65 with SMTP id m1mr1811425pgs.250.1501095511422; Wed, 26 Jul 2017 11:58:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:10 -0700 Message-Id: <20170726185815.8898-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-webserver][PATCH 2/7] cherokee: Upgrade to 1.2.104+git 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 Use git fetcher to use tip of tree, the tree does not get frequent fixes. Its not disruptive to use git fetcher Signed-off-by: Khem Raj --- ...figure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch | 30 ++++++++++++++++++++++ .../cherokee/0001-make-Do-not-build-po-files.patch | 27 +++++++++++++++++++ .../{cherokee_1.2.98.bb => cherokee_git.bb} | 16 +++++++----- 3 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch create mode 100644 meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch rename meta-webserver/recipes-httpd/cherokee/{cherokee_1.2.98.bb => cherokee_git.bb} (82%) -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch new file mode 100644 index 000000000..f3be7c6e5 --- /dev/null +++ b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch @@ -0,0 +1,30 @@ +From 4591b5b40d66c19edc73b951ad091dac639454c9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 16:00:34 -0700 +Subject: [PATCH] configure.ac: Add foreign to AM_INIT_AUTOMAKE + +Fixes errors like +| Makefile.am: error: required file './README' not found +| Makefile.am: error: required file './ChangeLog' not found + +Signed-off-by: Khem Raj +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d6298f27..98cab791 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -32,7 +32,7 @@ dnl Init autoconf and automake + AC_INIT([cherokee], [cherokee_version], [http://bugs.cherokee-project.com/], [cherokee]) + AC_CONFIG_SRCDIR([cherokee/server.c]) + AC_CONFIG_MACRO_DIR([m4]) +-AM_INIT_AUTOMAKE([no-define]) ++AM_INIT_AUTOMAKE([no-define foreign]) + + dnl Define version + AC_DEFINE(PACKAGE_MAJOR_VERSION, "cherokee_major_version", [Version string]) +-- +2.13.3 + diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch new file mode 100644 index 000000000..d4c0b6e8c --- /dev/null +++ b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch @@ -0,0 +1,27 @@ +From e9ae3231ec188df801fe51aa95d6afec2e52db58 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 16:14:19 -0700 +Subject: [PATCH] make: Do not build po files + +Target fails to build + +Signed-off-by: Khem Raj +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index f01278c3..eb864c36 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,6 +1,6 @@ + ## Cherokee: Makefile.am -*- makefile -*- + +-SUBDIRS = po m4 www icons themes qa doc . admin contrib cherokee cget packages dbslayer ++SUBDIRS = m4 www icons themes qa doc . admin contrib cherokee cget packages dbslayer + SUFFIXES = .sample.pre .sample .h.pre .h .xml.pre .xml + ACLOCAL_AMFLAGS = -I m4 + +-- +2.13.3 + diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb similarity index 82% rename from meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb rename to meta-webserver/recipes-httpd/cherokee/cherokee_git.bb index ba39f97e9..3f7eae4c1 100644 --- a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb @@ -5,19 +5,21 @@ SECTION = "network" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -PR = "r9" +DEPENDS = "unzip-native libpcre openssl mysql5 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -DEPENDS = "libpcre openssl mysql5 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" - -SRC_URI = "http://mirror.aarnet.edu.au/pub/${BPN}/1.2/${PV}/${BP}.tar.gz \ +SRCREV = "75f041e2255e6dd0692db2f14611c2647dbe8425" +PV = "1.2.104+git${SRCPV}" +SRC_URI = "git://github.com/cherokee/webserver \ file://cherokee.init \ file://cherokee.service \ file://cherokee-install-configured.py-once.patch \ + file://0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch \ + file://0001-make-Do-not-build-po-files.patch \ " -SRC_URI[md5sum] = "21b01e7d45c0e82ecc0c4257a9c27feb" -SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a078b7d" -inherit autotools pkgconfig binconfig update-rc.d systemd +S = "${WORKDIR}/git" + +inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd pythonnative PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav" From patchwork Wed Jul 26 18:58:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108787 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1147988qge; Wed, 26 Jul 2017 11:58:59 -0700 (PDT) X-Received: by 10.84.217.145 with SMTP id p17mr1856362pli.13.1501095539895; Wed, 26 Jul 2017 11:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095539; cv=none; d=google.com; s=arc-20160816; b=pWWqUD+MVQKYhsjLtGx/XlCkpiCNgoYnXMoNo+l/vR+8lBT6Nq5pf8HeHB0jddstIc 6wPaPlHyIL/WATrNs93AveRSUo+obiySAJdz27oLGQiVsui2Y04eVot4CK8u32Dqm5Ks 3JLgFjHOi4TcHl2OO4vyfBYywiEkfJskqTolA206x0x9hLMXKZ35bxT2gpzFvuXvz3kL yqU53GVKg/GFQArUn0INV9l5TWwJ/IfU0cEjV1ZkJG0vwkjuKuXgUtGh+05oJKSd7oh8 yAXn3+OhRGrl1ODygfH2vpyRizekpLv2VJxxs99NK+N8ZGuLESb97s5Zg0Sq/GbtQZnp QcXg== 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=HXejP3E8LmELSIDn+F1grV/CigwG0z3C9R0LRykfdZ0=; b=lPp2axEbLcOX6BR7IUxNzs6X72P70zrUPL5/JNFTGPaoWuknpCUkKz1xcdrHqNdqz2 LxL0Bx3MLqg629GVWk/RLobGQftcFsxoz6bdu8+2r+kfFKavmJYo3zAA5ItlSR459WzI yMcqKIp/MHwLsmF/SHhbjP+/1Yemo2Hs2qKI8mFgvfzvR9guz4oo/8RvnqXSkK94LWdF WJRcEP6xOBwsltSrxIndUtUXkDkxVToJbLJxYVmX32UVU2YDdsC/BSBPxBrqVSr0EnG9 CV6mb90l83FrIMAyCsdvArb8juQmOa/t3nUX6dsSQlCFoUHA/kXemMt8DNYoMiewfCKG xWtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=vhST3Ozy; 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 u10si10513196plu.215.2017.07.26.11.58.59; Wed, 26 Jul 2017 11:58:59 -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=vhST3Ozy; 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 1CBB678230; Wed, 26 Jul 2017 18:58:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id CD972601F1 for ; Wed, 26 Jul 2017 18:58:31 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 123so7529527pgj.0 for ; Wed, 26 Jul 2017 11:58:33 -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=2cJAsdKGu7IZmxLZ7ZrTapvZ4nBgI+4DmQGEaa9qXhA=; b=vhST3OzyJ3jrpZq3+yEc+BanZp38llFr8HQVtpDrNb+1j2MMAcYB2bPzIb9R3n+0/x O3XblqntblI2iYHBpyEOn6hkhBRGoic6ZJmL6h9OmYCTJORr5sAzRTKlx6qM7JHGxcUa m8MyRU4thFsFwLwni1Gk2WwAkOgZH1SVaAv84vVMhwDL+glCoJmF5sG05ogtqxXOimU9 JdHtn9jIqL0en8A92v3dVr61F2dflLmVWnJyH0L+DckiOvsVCZORkk290OkdZ5HaLc33 a72fUIzu6RTylUIhKQ5bcVWZeYKe+7DmATt+zpQoeyOCU2N36/hpoAJGu0uUlIXhBbUu osUA== 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=2cJAsdKGu7IZmxLZ7ZrTapvZ4nBgI+4DmQGEaa9qXhA=; b=H5rc28Lda5uqU+iSTu9bV7AC+G38TUfFFHIUk3wYwb2SR3E6DAOk0Sv+2vYBCIcTlo VkFglxto17bZAZASdb4oRA0GZiWAWEoXpcTrD8mKWi0uVY/NGMXs/7W7BzrezeEXDaCj 2BtObWmoGKoJUZPiyz9TsnC9GaHhkP+EGX7aO/6HHVoFM3Bb9v1rUO812i9w6A9Tkatp j+Zj5829XJd0sllBpzTiw/L/KUgHu3ZDif6CEJjkaFzqg1siZj9tDWsdCEYcyB52F6WJ MfyboEqxoWNK5bLidhXwLOaU5MWMmLOL3vuLI/IHXkSzz6D67i6EAmPg87AnploDpMtH fdvw== X-Gm-Message-State: AIVw112sRymdncMypyqIil06yVNS+LlOlnuKHEzOOaYHvLQTubN7al+7 gydkpE12XRShEA+C X-Received: by 10.84.231.194 with SMTP id g2mr1901356pln.5.1501095512762; Wed, 26 Jul 2017 11:58:32 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:31 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:11 -0700 Message-Id: <20170726185815.8898-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 3/7] libesmtp: Fix config.h define for snprintf detection 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 --- .../recipes-support/libesmtp/libesmtp/snprintf.patch | 19 +++++++++++++++++++ .../recipes-support/libesmtp/libesmtp_1.0.6.bb | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch b/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch new file mode 100644 index 000000000..d0d203ead --- /dev/null +++ b/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch @@ -0,0 +1,19 @@ +Use HAVE_WORKING_SNPRINTF to check for snprintf() + +Upstream-Status: Pending + +Signed-off-by: Khem Raj + +Index: libesmtp-1.0.6/missing.h +=================================================================== +--- libesmtp-1.0.6.orig/missing.h ++++ libesmtp-1.0.6/missing.h +@@ -43,7 +43,7 @@ int strncasecmp (const char *a, const ch + void *memrchr (const void *a, int c, size_t len); + #endif + +-#ifndef HAVE_SNPRINTF ++#ifndef HAVE_WORKING_SNPRINTF + #include + int snprintf(char *s, size_t n, const char *format, ...); + #endif diff --git a/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb b/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb index 7ddf591eb..71c5d940b 100644 --- a/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb +++ b/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb @@ -9,7 +9,9 @@ SECTION = "libs" DEPENDS = "openssl" SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2 \ - file://include-topdir.patch" + file://include-topdir.patch \ + file://snprintf.patch \ + " SRC_URI[md5sum] = "bf3915e627fd8f35524a8fdfeed979c8" SRC_URI[sha256sum] = "d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b" From patchwork Wed Jul 26 18:58:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108788 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1148071qge; Wed, 26 Jul 2017 11:59:08 -0700 (PDT) X-Received: by 10.84.236.76 with SMTP id h12mr1867440pln.405.1501095548785; Wed, 26 Jul 2017 11:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095548; cv=none; d=google.com; s=arc-20160816; b=E8xVb4s40aPYx4r1WFIOsJJ6lNef9HXp5f4TRhx73yAWA7BIC9AKnpQUGfPgfQf+53 hoqzLMiiXzzZRARStnUOrUa5SJjtz8Yyi9QGLS1/bObXrCBn6u2yZkOcYrEEOaN5XOAh bqjgEYuOi/V8Q9YFbDyoUkL1CkRDWizAU8TzTG7VD37AVGuBtvgR02W56YJE8vk3yMbd EOxucLDp0ZHndAPtRLyzE1cW9q39xkIk28Z5mJHWtxVNsjstvh+ecovCd8elyWXAMrLk HQFiz2313C1BEjbHT3Mjx/1v5nQgI7ZmkUlh4oqeImgjvbCZJZR8e/weYCyIuv6oWrPK 4UMQ== 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=tfFnj1ZO+Nw3n0VeAxOR+nM0H2XULqErnqwfLzLbzAg=; b=qVW7qhgJVV0qpBQiVHWFPO5Dp5ycv0OHgSENeOQuqGzGqgZRZRg4/+AHOf2QiP/dqi OOEww6Yb4wwhXISWSYkffEjGFdrasKYMjxVzBDPpG7b5DFD9sovts1wI6VkrJ1Jd2Sie +M7Jt+XX9WI8a0sk1fy6no+ToJwsiVIHq0wt+pgiuaToEDYRCMepHVoogHzZqHD1/VYy /FpCBBfrZ6cJm3tL2nIUC0WWVWj8lTgGwfkDNeJCQMsMadfqsw8+BjgdszdBT0PkjyMX iAPZI8W3EeVW/IZronBEDtxDIjusl1FFUPn01z/BnSN9UqHzTms/BFmcFpeE6wdhtIj4 waNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=vYUayWdD; 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 r70si2342870pfe.5.2017.07.26.11.59.08; Wed, 26 Jul 2017 11:59:08 -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=vYUayWdD; 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 398267823B; Wed, 26 Jul 2017 18:58:49 +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 48C7577DCD for ; Wed, 26 Jul 2017 18:58:32 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id m21so1781236pfj.3 for ; Wed, 26 Jul 2017 11:58:34 -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=yMKx0oJ2SeI5kfbGChJo5SNjvaXhoo75lYrXXjy53hM=; b=vYUayWdDHX0aInEr633jQZVfMd8x8zGABgDq59NaklfRwUKkngc6F8IVFhi65hueZ9 FRn4g9Pe+Cq7aBK/CQFWPaXbmV/S/lP1P3MYMzB2YIvHp1jKcihqJr3S61uLc+887kar 7i7hEg0xnY5540KVhcVUgYZJ1QuyThc4tj1oOTN/wauwxhFpcdVgHcCtQuQ68Yeq034G wtXKAdbBU/3TaVKbrJsxT2NtAMO71//E64TY9+lC1hELmquUiTKnPUbG/ZXA5wuGzNji BIPE+57AFjsKps6zrrrWAhf+uX9UugmOEWuBiB22pVEP2qhJXUVFJh2nNcsvnMksqPcb YB3Q== 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=yMKx0oJ2SeI5kfbGChJo5SNjvaXhoo75lYrXXjy53hM=; b=eQhL6UmpvA138TMSuBKyFx/XmY+vz8evIxSWUcvgfu6Wyw0j1MdsWm7QAv+qVaM69K hAjeDyE8fls78Jqxy1paijc5rY3ySnBFI4x7NzSk+tzP0Zg6x4MRv2aUcovhfiZve2yg BMkK6gK8ARvOfn3nKcLJBDaayJFrxPiXOOG7yeNc23rkny7v/768FhA4huFNSqFkAAKj SiLUjIexXlPFBUbJ66tgmMNoe7OTHLIUCtxctFitRzO/F/iBrStrFaFFbVL/hZXuklKp 0btpkFyjsdwOU+Pp1OXlaAdwazCD1sKWXIVf3wRjLVKwYeJbJkrNon9GpPB/VAarxsR9 xP0Q== X-Gm-Message-State: AIVw1113/l03H61C5wfCvs5hA7G6Pa0dv/CQmG0jmGRVRIDO/1UwdsEZ dhsuSCezhc+j+he1 X-Received: by 10.98.109.65 with SMTP id i62mr1748737pfc.309.1501095514160; Wed, 26 Jul 2017 11:58:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:33 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:12 -0700 Message-Id: <20170726185815.8898-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-gnome][PATCH 4/7] usermode: Link with libm for powl() API 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 --- ...1-Makefile.am-Link-with-libm-for-powl-API.patch | 26 ++++++++++++++++++++++ .../recipes-support/usermode/usermode_1.111.bb | 6 ++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 meta-gnome/recipes-support/usermode/usermode/0001-Makefile.am-Link-with-libm-for-powl-API.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-gnome/recipes-support/usermode/usermode/0001-Makefile.am-Link-with-libm-for-powl-API.patch b/meta-gnome/recipes-support/usermode/usermode/0001-Makefile.am-Link-with-libm-for-powl-API.patch new file mode 100644 index 000000000..76640b0a1 --- /dev/null +++ b/meta-gnome/recipes-support/usermode/usermode/0001-Makefile.am-Link-with-libm-for-powl-API.patch @@ -0,0 +1,26 @@ +From fda0ff49968aebc7b27f9711cf6eb7f6c560adc1 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 18:28:15 -0700 +Subject: [PATCH] Makefile.am: Link with libm for powl() API + +Signed-off-by: Khem Raj +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 4219f28..2a5ceac 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -69,7 +69,7 @@ dist_pkgdata_DATA = usermode.ui + userhelper_SOURCES = userhelper.c userhelper.h shvar.c shvar.h + userhelper_CPPFLAGS = $(AM_CPPFLAGS) -DSYSCONFDIR='"$(sysconfdir)"' + userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) \ +- $(SELINUX_LIBS) $(EFENCE_LIBS) ++ $(SELINUX_LIBS) $(EFENCE_LIBS) -lm + + userinfo_SOURCES = userinfo.c + userinfo_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAPDIR_CPPFLAGS) $(SBINDIR_CPPFLAGS) \ +-- +2.13.3 + diff --git a/meta-gnome/recipes-support/usermode/usermode_1.111.bb b/meta-gnome/recipes-support/usermode/usermode_1.111.bb index 06e400e52..c2d73289e 100644 --- a/meta-gnome/recipes-support/usermode/usermode_1.111.bb +++ b/meta-gnome/recipes-support/usermode/usermode_1.111.bb @@ -15,12 +15,12 @@ DEPENDS = "libuser ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \ file://0001-formatting-issues.patch \ -" + file://0001-fix-compile-failure-against-musl-C-library.patch \ + file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \ + " SRC_URI[md5sum] = "28ba510fbd8da9f4e86e57d6c31cff29" SRC_URI[sha256sum] = "3dd0b9639b5bd396b7ea5fada6aaa694dbfdaa3ad06eb95a6eabcdfd02f875c6" -SRC_URI_append_libc-musl = " file://0001-fix-compile-failure-against-musl-C-library.patch" - LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" inherit autotools gettext pkgconfig From patchwork Wed Jul 26 18:58:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108789 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1148252qge; Wed, 26 Jul 2017 11:59:19 -0700 (PDT) X-Received: by 10.99.104.74 with SMTP id d71mr1764936pgc.7.1501095559778; Wed, 26 Jul 2017 11:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095559; cv=none; d=google.com; s=arc-20160816; b=w0esovHBQLXpN0O0aYM4tw5AgLqP6Iy2Un9u2f/Ff1NBlG2UAqkzoYyckPDlZy8FFy 6B0/u4ldT92okBQBmGqgmZC8RQGxE5sa91ogi3Oaxu4t0EKgB2IJgDcpzDue/HGO5ohR hQw822em3GjoFZgGt++I0LVZYW4mIxEsOdjZOfOfK0LaK8/F+TUva0hNdm7ckh6fBkxm u5qBceWnfjjkJddH5F2N/u+MJReZu3+LfI6R8l8uxOMp97rK/bb0Er8CXd3G1C4zqUc9 kh9U4JWokhDegEQRUsE5ILhl7LAKmEgIn3kggHYuDte4ULeYoTfylOx3KCxi1ntsmP5f DGWA== 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=6l+oYdFECmAj28ZqqhhaaRMVX4rmE2Ax6PR+SrZNu6g=; b=wbR/LzHxyrPg9DJeUW22CEU0Wnh+51molY7snJyBmRApMIV5k7A5E1LyK6l+BPFB3u ciAp7biFuEKQ7cMGnbB6hHnelPFlIInif3WFiUEO5NCaKDcGcdCQgj/f3wXETENvHYk+ 8Ce5vu5J9C0AnJ1stCnDZpDszlgG+v5ZCufHnoy80o4xVQA3Hiqlmk/EOD6BZd9QcNfj K6xXsQ037T1VYiEdLyx8Jl+SgToqnhxxcdUS/jsQEC0K+g2+S23cwH3hvOnTp/skaVWQ PKd2yw8o2MDHldVvcnES53+zo7jVmrkn2HUnmXvo8F5SKNaXItHSIc/0wBlLEfOotgHW hBqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=k77dprNG; 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 o12si10095752pgr.454.2017.07.26.11.59.19; Wed, 26 Jul 2017 11:59:19 -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=k77dprNG; 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 4B9DE77FC7; Wed, 26 Jul 2017 18:58:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mail.openembedded.org (Postfix) with ESMTP id A732871ABC for ; Wed, 26 Jul 2017 18:58:34 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id q85so74329809pfq.1 for ; Wed, 26 Jul 2017 11:58: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=7wdcIQ0Iox7XvAzfWhPXuq1Ts+YPcKeSJzFOIQ3l5QM=; b=k77dprNGkRovvdmJPnn4wJBlQe5KsVd48Ps9Ff5rBls0dmcozu9z5pQ2U1+W9Vjf// hnaqNaGh91aBJJrXcgn0Wih8YRjwwzIRmtZz1vPlQhliiZGRvJdasTP7msguFuslQMWy farxMMIUSZKSPnkUCZw76R382RAwRJh3l0aFu/JiSRb6JvH13HsgD+Th4AvSpPSBH/Tv kmTzUmKu6kYMBIhL84tLH7YSn7qVDaWxLwrSL79pGev9s/aqU6MKpv+f0vRXQ0yhbTQo l6GXPomeCgL0eUZ/cl/ZssBL8cxQCIcoL1TRCQQAzVfmx7d1P86Ht/S/VRi87AP2Ri+u ynjQ== 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=7wdcIQ0Iox7XvAzfWhPXuq1Ts+YPcKeSJzFOIQ3l5QM=; b=f0Tw42J3J8X95SEK1crtmDmenBhpzSO2j5ctvnh3OJfGzM0aLHTS/zTyNZEDX9bflB WT23tVMCHZUz1TdAXiL+KLc0mXIfN4UmqnKyv4tN+ih2cI2CRwkc93Fh0mTnqR/rTiGF Vnx98KIME2KQwpREzmDVrICB0os9OB98OFfJVkmQKCbq+flkuYUyruMNj0SPAbUXbD6z seTBFAcgqtrdGWdjXOCxaXDfEdCJ75gMLCkzp8hkMp74lAcKT+QVoiu75orbIjln9+iu kmcta/ilctRyx8XzdjuPy8bg3W4UREw5UwWOBTMsQ1M5BL0MxEZZ5hT6j//i4GnwGJdm eYyQ== X-Gm-Message-State: AIVw110xuqjy7NS8xJvOrntiYVOU06PJMISgPLI/ZPRWfeRlHsPd7aWP O7LCmQ5+4ItT+Gmk X-Received: by 10.98.74.141 with SMTP id c13mr1725005pfj.69.1501095515468; Wed, 26 Jul 2017 11:58:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:13 -0700 Message-Id: <20170726185815.8898-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 5/7] dbus-daemon-proxy: Fix return value from master_filter_cb() 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 Use github for SRC_URI Reorder the linker flags so that we can remove disabling --as-needed Signed-off-by: Khem Raj --- ...-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch | 30 ++++++++++++++++++++++ meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb | 8 +++--- 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-core/dbus/dbus-daemon-proxy/0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/dbus/dbus-daemon-proxy/0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch b/meta-oe/recipes-core/dbus/dbus-daemon-proxy/0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch new file mode 100644 index 000000000..2c4ca057f --- /dev/null +++ b/meta-oe/recipes-core/dbus/dbus-daemon-proxy/0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch @@ -0,0 +1,30 @@ +From 8e6d1f590b1cb437dc67c51298ef1722a7266d35 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 18:37:58 -0700 +Subject: [PATCH] dbus-daemon-proxy: Return DBUS_HANDLER_RESULT_NOT_YET_HANDLED + from master_filter_cb() if DBusConnection is null + +So it can be passed on to other handlers since this could +not be handled here + +Signed-off-by: Khem Raj +--- + dbus-daemon-proxy.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dbus-daemon-proxy.c b/dbus-daemon-proxy.c +index 009e4fd..f3f0d80 100644 +--- a/dbus-daemon-proxy.c ++++ b/dbus-daemon-proxy.c +@@ -115,7 +115,7 @@ master_filter_cb (DBusConnection *conn, + guint32 serial; + + if (!dbus_conn) +- return; ++ DBUS_HANDLER_RESULT_NOT_YET_HANDLED; + + if (verbose) + g_print ("New message from server: type='%d' path='%s' iface='%s'" +-- +2.13.3 + diff --git a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb index 4571b447f..42cd032c2 100644 --- a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb +++ b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb @@ -6,15 +6,15 @@ SRCREV = "1226a0a1374628ff191f6d8a56000be5e53e7608" PV = "0.0.0+gitr${SRCPV}" PR = "r1.59" -ASNEEDED_pn-dbus-daemon-proxy = "" - -SRC_URI = "git://git.collabora.co.uk/git/user/alban/dbus-daemon-proxy" +SRC_URI = "git://github.com/alban/dbus-daemon-proxy \ + file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \ + " S = "${WORKDIR}/git" inherit pkgconfig do_compile() { - ${CC} ${LDFLAGS} `pkg-config --cflags --libs dbus-glib-1` -o dbus-daemon-proxy dbus-daemon-proxy.c + ${CC} ${CFLAGS} -o dbus-daemon-proxy dbus-daemon-proxy.c `pkg-config --cflags --libs dbus-glib-1` ${LDFLAGS} } do_install() { From patchwork Wed Jul 26 18:58: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: 108790 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1148428qge; Wed, 26 Jul 2017 11:59:30 -0700 (PDT) X-Received: by 10.99.44.76 with SMTP id s73mr1745708pgs.396.1501095570107; Wed, 26 Jul 2017 11:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095570; cv=none; d=google.com; s=arc-20160816; b=lKTZ2OLVgZb0IEud1mH5dcCh8wXfPFmq1lN015P6KooFbnBPji92ORIGlixHoRgnaw CkNyAO5qfcAp57QYOaeF++NuqYdvpHtZzYKTLW8f5iD17/tHT0aIwqLcrqgMEcmscxJl 2bCBVL1T9VIfJ5jd9VbfqmwQsxneYZ49xY9cWKdNfhEfhTd9D98FCGJnms0BcJvM+VPT RVRe0KboUmQTTT0nZjAZXbXm36CQiRrwOpzIlaElgVzrxB/Mt6VQDhoJHHuHcoSeS7Lj YlzbHIQUCUhylUSmGFmGO95DrJQQxkAiTiJklOhpLs/xxUvXNsj7hPk5vOz4zupL8RmZ bEJQ== 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=kD1FggX8O2Eh8/zQnbnT8tdmJ7gr/BFjmQ893UBTft4=; b=NklSu/YAEzlxszG9CH2fUkqqFX9MtghJJyXDrWAJozeZJ0xTDv1pWqhJ7F3mKx80sT ltqUJA3TSUok2oRLryQCN760Jhy25KEpALW3XnU8illpnN2jOFE9Wd3BlynvsaUGT9B0 22zt67DoeFsPjRiae5qMuU8NXWBjBSHIeQogUfB/nli3aooAc0GDXnPN97+stm5VZ4oZ aqmhBV+9UWfE+78VZ2s+V0Wy4A1W2iHYUjHW97ohbbJphOu29fXKa38BDSUOQPds7mc9 ErfWhv27C+7ySS+r62T5RuD2uKM2gt2CUqfTIE2v6NMerCiDn5So5YKcLt+i7R3E8MM7 0jNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=bN7v10Aa; 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 o12si9834753pfa.545.2017.07.26.11.59.29; Wed, 26 Jul 2017 11:59:30 -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=bN7v10Aa; 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 596737825A; Wed, 26 Jul 2017 18:58:55 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 5BABA719A8 for ; Wed, 26 Jul 2017 18:58:35 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id y25so8736725pfk.4 for ; Wed, 26 Jul 2017 11:58:37 -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=tA5xf36b7eZU93oJfKaJJOpCpI5oNeopVpJx3tmJU40=; b=bN7v10Aa/c2Wh8Dt2/HVSsTjD8CWCxIOjcRBt84k1VkcvVZ1Bg/3fNI9dRPy1pnoXd QMtH1de+4Uk5VwzZjotUYrTIH4gRnkZxGh9redeqRvR5wAzIUEN97vkDIDQeVmVaLxqZ +J99yHBlvr2QOR7RhI2mTvrVvTCn3RS5Ru8wcGbDQYP0fzzEpbTbyC6JnR6uX+KE11KG Xi3uMiQbkQzDzCwoWDtVBig7w1ndDhUmW+NoDJ6a8Ijdvrk+ua2VhJxTSolH5dGCs8lA NqrsIJzmKNg3xi1cZtLS8WKNzAK2NLlv7QPg3RgLk1XjGKHSOb5ultA3iYJi53OlHvTM cFHw== 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=tA5xf36b7eZU93oJfKaJJOpCpI5oNeopVpJx3tmJU40=; b=Veq3TalyjMjrn9GuNDxlEd3BdSq+MCIGvxsWX9cCX3bTJ6s7nIbFYjj8JqNWO6WWdx N8hYDwtTGhfG5xzlyFxVLKzfQlgbuWQF6JkP58KpFZFZRVCAEV03nHbzpXtZZYT0jsgN XGj8sSgrOaKC/fXXwW5ZpZrBAof+0jEOfyT3s1BGX44u58Y+dqfopuowAUswe1q2yyaI QcrI9fuc1kgAS2leOJsFb4QKl+spcheY3xuVBsNJLV6nU548d56YKmIiZ7u1FMUA14aA i/hpstD0cgxIUbsFmxppho6tnZeN3dq5vXq8hX7SUlXm60SpAG9xMC72tby8qnK5XdpS n2gA== X-Gm-Message-State: AIVw110KBE4rnKF+Zjtoi5tJwZvrPUuzNXK6WUmE78+XSam1X58465oQ e4WhJGiRfTGGizTq X-Received: by 10.98.206.194 with SMTP id y185mr1776179pfg.312.1501095517074; Wed, 26 Jul 2017 11:58:37 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:14 -0700 Message-Id: <20170726185815.8898-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 6/7] ssiapi: Fix build errors found 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 --- ...itor-ordered-comparison-between-pointers-.patch | 39 ++++++++++++++++++++++ meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb | 3 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/ssiapi/ssiapi/0001-ssieventmonitor-ordered-comparison-between-pointers-.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/ssiapi/ssiapi/0001-ssieventmonitor-ordered-comparison-between-pointers-.patch b/meta-oe/recipes-support/ssiapi/ssiapi/0001-ssieventmonitor-ordered-comparison-between-pointers-.patch new file mode 100644 index 000000000..27df9b5de --- /dev/null +++ b/meta-oe/recipes-support/ssiapi/ssiapi/0001-ssieventmonitor-ordered-comparison-between-pointers-.patch @@ -0,0 +1,39 @@ +From ea9ecf4bf305f9509d5822b3823658a40162f43c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jul 2017 19:08:21 -0700 +Subject: [PATCH] ssieventmonitor: ordered comparison between pointers and + zero, actually with NULL + +Comparing which is large or small between a pointer and NULL +however, looks completely illogical. Ordered comparison of +two valid pointers is legit, but no pointer will be smaller +than NULL , so comparing if a pointer is larger than NULL +simply means if the pointer is not NULL. + +Fixes errors found with clang e.g. + +| ssieventmonitor.cpp:339:53: error: ordered comparison between pointer and zero ('char *' and 'int') +| if (fgets(nextline, sizeof(nextline) - 1, mdstat) < 0) { +| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ + +Signed-off-by: Khem Raj +--- + tools/ssieventmonitor.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/ssieventmonitor.cpp b/tools/ssieventmonitor.cpp +index f04b8f0..7a00122 100644 +--- a/tools/ssieventmonitor.cpp ++++ b/tools/ssieventmonitor.cpp +@@ -336,7 +336,7 @@ static int _read_mdstat(int fd) + if (!strncmp(line, "md", 2)) { + if (strstr(line, INACTIVE_STR)) { /* possibly container */ + char nextline[1024]; +- if (fgets(nextline, sizeof(nextline) - 1, mdstat) < 0) { ++ if (fgets(nextline, sizeof(nextline) - 1, mdstat) != (char *) NULL) { + fclose(mdstat); + return 1; + } +-- +2.13.3 + diff --git a/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb index 339637087..5eb4696b5 100644 --- a/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb +++ b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb @@ -18,7 +18,8 @@ SRC_URI = "http://sourceforge.net/projects/irstessi/files/${BPN}.${PV}.tgz \ file://0005-engine-Define-SENTINEL.patch \ file://0006-tools-Add-missing-includes-and-use-realpath-instead-.patch \ file://configure-cflags.patch \ -" + file://0001-ssieventmonitor-ordered-comparison-between-pointers-.patch \ + " SRC_URI[md5sum] = "02f16d7cbd30d28034093212906591f5" SRC_URI[sha256sum] = "e10d283b0f211afb8ebd0bde87c097769613d30a052cdf164753e35e803264c7" From patchwork Wed Jul 26 18:58: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: 108791 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1148555qge; Wed, 26 Jul 2017 11:59:40 -0700 (PDT) X-Received: by 10.84.136.1 with SMTP id 1mr1847057plk.74.1501095579796; Wed, 26 Jul 2017 11:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501095579; cv=none; d=google.com; s=arc-20160816; b=mYtF2gWJvTVWGoVRvQnAzNoIvWAawthgn4BPK4x6c0E4rvNmfRVFlxeGYErZ5dac43 su2pKfB/A63fLmnS7Yp6k1VAKbY2KGhwitW9iPKCUo9fHjiTvTLDI2lhUaHDYIxif8M9 E64gnvw+H7Dm0qAs6W/XLolizsM7ERA89hV6JPrCsGIkL2DeW/6J09urwfvbsImQlbj9 fi1jc9sJ1bGAZ0b20NBaTk7U2D6mPAnFo5QpCriu3+1fY/H7lClZi6+giw+YQU0jwGL7 rJMuH5F3gsJK2SQQLbMUOMbA3vy1qMMFH3qoUkCl68J5s52FOIQv9euSWa+AJJrTBZXt JVMg== 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=FQ+UqzjTZq5iT8Iiq1gUZ33NXf84hxrqyGLfZFjwP+0=; b=xIV+eTKUCYVRfSwIFIMKZqw7IwI3R6+SmAfjY6Z9BK5GZCPrQqv1Zwf6ANE48PeWQn 3AUYOVa6A/DO58w0p9/Vg75phOYq++dsixELojN46YwCAFOHJRXxnYYYm6ZtkEGQ2kCk DrdXldszHRNKKwkRnCF0qN4RLd/ZHK6dtlUpUZAM3kDguLNFhFXXwRWHuIzWr6fXJmzU raTU365zrMRHRHi1vvklKKf20a97J1CuMS7Mmssr7zwxic74HQlI2YvANnj+o/SYq1El 62z032hQG+W/XMd/jRnSGETe0l3bGrPGQvLZh83jjvK2tFU5JjJTHGPgZvl6ieWNk2bH q3Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=hHi/AkAW; 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 v21si9891628pfd.453.2017.07.26.11.59.39; Wed, 26 Jul 2017 11:59: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=hHi/AkAW; 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 6E68D7825F; Wed, 26 Jul 2017 18:58:56 +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 8396E77B6E for ; Wed, 26 Jul 2017 18:58:37 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id d193so18107068pgc.2 for ; Wed, 26 Jul 2017 11:58:39 -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=+hA67uAWcS6j6Wou2BUrPQYR6j4EHYSSNHES4Ugogn0=; b=hHi/AkAWr1zR2qEHs7kQ8caCTvMMPWzWjpYoAOpRtVQj5l/SlaJFSB/rZhA/4LyGME 4wjXinFSyo9dZIfASIvdg6UxbcLtl3liO9cV3Zr6fxj19qA4Cb269Y8heZD/XevQqX4m x3vfqlvoplX9Js/2Ews+84MORiFt9guVBQD0PtLaoL7dugYyP4yqacw0WG1ige71bls6 Ji7TEkea66xOkw1CnbhPTzGM8HHW5EFmv3Y2+XiMQEpL2X/jAvPs1XAEgzwIKGIHjQ5H b5o5quUXzMssvTlDKsRT6qCLq2GsVMT4RcOzgNthbD77WQDYjorTFj4LTHmKwthWUZ9V XAuw== 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=+hA67uAWcS6j6Wou2BUrPQYR6j4EHYSSNHES4Ugogn0=; b=Bcc44WKlPJW3jBxGpIEkUC5vWol5UIZVXAudXxiMjdCLy0iSfBYmhZQvdOXs2IuZxF zPR+tEohatmgUot2Ud2/6KVVxryofUuUxVEd9Bhllu37xqGL0GSmct5MO2TxKWs2RlaC /1/GBxQnHC5Jw+IGQOWqUVyg4PiYMJB+Vf4hXcPK1CLHUAwxkxlCH5Or51VijOXxY0FQ LfZ8rZfgDLRk4kVZyojXsvm4PuPq69UAOsQaUyRwotDur3KCML0vA+t58tJtHMRXQ6l6 7U61YGfRGveCOp1TGsuLfgxi0SRkroD+Ms/z4HfHcbkV26quzrxjxBFVvillSaZnIGyY f10A== X-Gm-Message-State: AIVw111aiZJcwWbxNUPJLyPtpx9MbpmpiwrlzTN84Yco+xhwpG/3Sx+7 Gouo9PMCSniN2f6E X-Received: by 10.98.218.84 with SMTP id w20mr1724375pfl.240.1501095518465; Wed, 26 Jul 2017 11:58:38 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s15sm33245864pfk.42.2017.07.26.11.58.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 11:58:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 26 Jul 2017 11:58:15 -0700 Message-Id: <20170726185815.8898-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726185815.8898-1-raj.khem@gmail.com> References: <20170726185815.8898-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 7/7] flashrom: 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 Backport a patch from staging Signed-off-by: Khem Raj --- .../flashrom/0001-Remove-undefined-behavior.patch | 82 ++++++++++++++++++++++ .../recipes-extended/flashrom/flashrom_0.9.9.bb | 3 +- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/flashrom/flashrom/0001-Remove-undefined-behavior.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/flashrom/flashrom/0001-Remove-undefined-behavior.patch b/meta-oe/recipes-extended/flashrom/flashrom/0001-Remove-undefined-behavior.patch new file mode 100644 index 000000000..51397dc55 --- /dev/null +++ b/meta-oe/recipes-extended/flashrom/flashrom/0001-Remove-undefined-behavior.patch @@ -0,0 +1,82 @@ +From d2a03b3e43043b596a79803bcb93f70e513bbb50 Mon Sep 17 00:00:00 2001 +From: Patrick Georgi +Date: Mon, 13 Mar 2017 13:48:03 +0100 +Subject: [PATCH] Remove undefined behavior + +Per clang-3.9, the compiler fails on #define ...defined(...) statements +as they're undefined behavior (apparently with different behavior +between gcc/clang and msvc, too). + +See clang's cfe repo commit r258128 for details. + +Change-Id: I82b6235e11b425fae45eebbe06b08f81c5bdbb98 +Signed-off-by: Patrick Georgi +Reviewed-on: https://review.coreboot.org/18792 +Reviewed-by: Stefan Reinauer +Tested-by: build bot (Jenkins) +--- + hwaccess.c | 18 +++++++++++++++--- + platform.h | 18 +++++++++++++++--- + 2 files changed, 30 insertions(+), 6 deletions(-) + +diff --git a/hwaccess.c b/hwaccess.c +index aede7e3..2bf6f42 100644 +--- a/hwaccess.c ++++ b/hwaccess.c +@@ -37,9 +37,21 @@ + #error "Unknown operating system" + #endif + +-#define USE_IOPL (IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__)) +-#define USE_DEV_IO (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)) +-#define USE_IOPERM (defined(__gnu_hurd__)) ++#if IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__) ++#define USE_IOPL 1 ++#else ++#define USE_IOPL 0 ++#endif ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) ++#define USE_DEV_IO 1 ++#else ++#define USE_DEV_IO 0 ++#endif ++#if defined(__gnu_hurd__) ++#define USE_IOPERM 1 ++#else ++#define USE_IOPERM 0 ++#endif + + #if USE_IOPERM + #include +diff --git a/platform.h b/platform.h +index c5a52ef..b2fdcd0 100644 +--- a/platform.h ++++ b/platform.h +@@ -25,9 +25,21 @@ + #define __PLATFORM_H__ 1 + + // Helper defines for operating systems +-#define IS_LINUX (defined(__gnu_linux__) || defined(__linux__)) +-#define IS_MACOSX (defined(__APPLE__) && defined(__MACH__)) /* yes, both. */ +-#define IS_WINDOWS (defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__WINDOWS__)) ++#if defined(__gnu_linux__) || defined(__linux__) ++#define IS_LINUX 1 ++#else ++#define IS_LINUX 0 ++#endif ++#if defined(__APPLE__) && defined(__MACH__) /* yes, both. */ ++#define IS_MACOSX 1 ++#else ++#define IS_MACOSX 0 ++#endif ++#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__WINDOWS__) ++#define IS_WINDOWS 1 ++#else ++#define IS_WINDOWS 0 ++#endif + + // Likewise for target architectures + #if defined (__i386__) || defined (__x86_64__) || defined(__amd64__) +-- +2.13.3 + diff --git a/meta-oe/recipes-extended/flashrom/flashrom_0.9.9.bb b/meta-oe/recipes-extended/flashrom/flashrom_0.9.9.bb index 1bd97929c..4cdd8ad23 100644 --- a/meta-oe/recipes-extended/flashrom/flashrom_0.9.9.bb +++ b/meta-oe/recipes-extended/flashrom/flashrom_0.9.9.bb @@ -3,11 +3,12 @@ LICENSE = "GPLv2" HOMEPAGE = "http://flashrom.org" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS = "pciutils libusb" +DEPENDS = "pciutils libusb libusb-compat" SRC_URI = "http://download.flashrom.org/releases/flashrom-${PV}.tar.bz2 \ file://0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch \ file://sst26.patch \ + file://0001-Remove-undefined-behavior.patch \ " SRC_URI[md5sum] = "aab9c98925d9cfb5ffb28b67a6112530" SRC_URI[sha256sum] = "cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45"