From patchwork Mon Jun 26 05:34:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106304 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65248qge; Sun, 25 Jun 2017 22:36:16 -0700 (PDT) X-Received: by 10.84.140.107 with SMTP id 98mr2391712pls.97.1498455376599; Sun, 25 Jun 2017 22:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455376; cv=none; d=google.com; s=arc-20160816; b=hzGxdwJ6WnG/dEBWmu6bHXNeW9JkjBq9++zjT3Ub5+rlwtPtpnF8ckQlCgxQbbWWDU UkwsV7uPsjz5V2/OPUBM/pONHdH6HEX/8TyMfFaLPYkYPAIRYx9PJ5+LLx70iUYJHNHU oEIg1HLCmn0mWm3FZdHIR/NswsG17sXE3dXu2VCUCRH69C9+sHCOJsPc+DlB8T7HsKlw u0dmy6LO6COxLAINeujcK0l5bAV0gTIuPOUqQNEEuBgeDUHAfQoBv+WIPVUFR+aPgYXO mQoWf7OikNniGzBChfmIqPl5FpDATFDMiuer67Jn+LxggR4U6gMemP+Gh2FEwyIuTAQm zUbg== 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=G/h8blALuwn7MUAIJDt8878UZMAbOKOuVbQNgvlKrv0=; b=Fq/KU5JKh3nbAwAOs9f4nSpveXUY8HM7CzZKQlS0qMR9NsMFTFkyvzDl3IiGydJ6y1 trY+CLRyETisFc55CMGEzEQpTK+ZimS3/Tl3/rFBnnDbmkQbBVYYjMSeT0zQXnS8dmqD Ezf/i8QFt0PV9Gd+zD62g6v7pWMzszDFZEXV84bAWK5eSuLSqcYERUQNJIxoV4Ie4d45 5OSxYkWHDm3BJnl2S4NBv/CrTEi71sXhNCCeXMSYCHgUjHoQsbExItOJ9RYapgPQ8m9d R/l3orfqOFxBu87lPc3Y5qUcMrAJgMmBADDWy0vbWbrkx16AtPAFXp8K9SUPeAS4iBjt aSVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PMWI4vxZ; 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 t66si895105pfk.196.2017.06.25.22.36.16; Sun, 25 Jun 2017 22:36:16 -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=PMWI4vxZ; 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 3CFFD77B6E; Mon, 26 Jun 2017 05:36:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by mail.openembedded.org (Postfix) with ESMTP id C60D877972 for ; Mon, 26 Jun 2017 05:35:02 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id u62so43540615pgb.3 for ; Sun, 25 Jun 2017 22:35:04 -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=3HDZcs4FCCPH42q/EG7aIILGEeLBWazpcvtmvZa0dlE=; b=PMWI4vxZtDoOLc7vSpQozB0rKLTbY43RuPNba1CQ+qJeI+KHGjlXZJn+S5FUZTnSU2 LgCYqGYfRM/OQDYSF//X3cLB7VAGfFzOig4WeWZ8uYUMDXVes3cfTyldhT1DNQ9TAb9T INadKhLJxKg+aD7bw5x6cVhhgWAILa1/oS93iaDx7oyB2R/Be1nUy5UNY8XNkwRw0MEv qWa4LrBWy53yrETsGeyaWZp+xFwcWX/LdnajxidqYbmZbPQJGjFsMq4bJ2Vsr1ZNWTOq efvjNt2kesZBnYB03MKzQzDJk9QWMw2Dpvga+UHonK34juZsXQ+NjjfOA+JCGwZK4s1Z kB2A== 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=3HDZcs4FCCPH42q/EG7aIILGEeLBWazpcvtmvZa0dlE=; b=JCexcN6MV+ZiX5u8EPheBh/lRssGPKGPi8HMQBWEGyCAzhsZ03hTLcSaSkkllNNtv/ oZdsFvISdI/OkA0JvTjy3TINkW+Wb5w3tHBIEEHRF7Iet1SUlfdXo2wOqenTn+ADIDYn eRClREr/8jQP4KzUhU19jeJYm41V2P9qaXuXgasmLrLIIRDLKHrPAtuHuf9E4+JggrDM GkQspzJocjR+hPyv+qVndQZZ4bcAIrRVi7vHRAF4GnzsA6sDsBGdL2zAJ6yMtr8ohASh POOSI7iBtBSpgrPSxLcG+m/MYB7e8O384PWv/u50/JAm0Yu0rvm7ncKPBMNmLdMkRjl2 YJUg== X-Gm-Message-State: AKS2vOydft0N89FdlbW+rMc9Us6fNxjq0jcn2UtALemqL5cMIU9sJiZx Kyryw8mP76723fbw X-Received: by 10.98.7.11 with SMTP id b11mr20133698pfd.188.1498455303339; Sun, 25 Jun 2017 22:35:03 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:43 -0700 Message-Id: <20170626053446.37959-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/7] gpm: Use sigemptyset() API for glibc as well 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 glibc has removed __sigemptyset Signed-off-by: Khem Raj --- ...-sigemptyset-API-instead-of-__sigemptyset.patch | 34 ++++++++++++++++++++++ meta-oe/recipes-support/gpm/gpm_git.bb | 4 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.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/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch b/meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch new file mode 100644 index 000000000..a9198166a --- /dev/null +++ b/meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch @@ -0,0 +1,34 @@ +From 52e6cf052b1f938fcca1bc24d578fe0bfd972988 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 25 Jun 2017 07:25:33 -0700 +Subject: [PATCH] Use sigemptyset API instead of __sigemptyset + +__sigemptyset has been removed from glibc public +API headers in upcoming (2.26) release onwards + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + src/prog/gpm-root.y | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y +index 5126c65..76c896c 100644 +--- a/src/prog/gpm-root.y ++++ b/src/prog/gpm-root.y +@@ -1196,11 +1196,7 @@ int main(int argc, char **argv) + LOG_DAEMON : LOG_USER); + /* reap your zombies */ + childaction.sa_handler=reap_children; +-#if defined(__GLIBC__) +- __sigemptyset(&childaction.sa_mask); +-#else /* __GLIBC__ */ + sigemptyset(&childaction.sa_mask); +-#endif /* __GLIBC__ */ + childaction.sa_flags=0; + sigaction(SIGCHLD,&childaction,NULL); + +-- +2.13.1 + diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index 69f12d9b8..51c4dd639 100644 --- a/meta-oe/recipes-support/gpm/gpm_git.bb +++ b/meta-oe/recipes-support/gpm/gpm_git.bb @@ -12,10 +12,12 @@ SRCREV = "1fd19417b8a4dd9945347e98dfa97e4cfd798d77" DEPENDS = "ncurses" SRC_URI = "git://github.com/telmich/gpm;protocol=git \ + file://init \ file://no-docs.patch \ file://processcreds.patch \ file://gpm.service.in \ - file://init" + file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \ + " S = "${WORKDIR}/git"