From patchwork Mon Aug 13 08:17:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144013 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2807595ljj; Mon, 13 Aug 2018 01:19:38 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwc0apd5pLRAzvdldd9JJZH56BXAhVUAbrKIJhQzg70047tpd6Vgbfy2oER+HHdHGjO2a1j X-Received: by 2002:a62:b29c:: with SMTP id z28-v6mr18229501pfl.8.1534148377946; Mon, 13 Aug 2018 01:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534148377; cv=none; d=google.com; s=arc-20160816; b=FOc62BSDAEV+ubEo0CTCzi9vTACNFZsC8+hNQr48wIg/2loneRWKvuvpKz1aqNT7xY FBkTVgohLWlgfqGfFIGHiPG1rXbDrAeJ4uJORUzAFbFaYM4OQxwvhFd0jdVs84bRFfw+ 5ryzi2V6HUCJfONC7LN/tVH2zX508JaRbA0IXb/R08ULZE/Kjp+qCrcDnT9R+kbgdQSL QmEU2JcOKf44cfyLlwK+2ZFxu1kL8tKBUuexhDoZypEh6geV1FwihGh3YinNTg/kTCIS a8Jga8bqkKpsgHfolix0fKaZexpnaWDnmnMu0z58uv2AHlqeshdvtFQcE2SRwTLWFY/B OmAw== 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=aZaAsKP2nYcD6JQZpYj8WiYEkfWbR9EgY84KSvf/N+E=; b=BWUUEmi+JPPfWIGbeyZVi5ADod04M3/lnz3NvFaDbJOW0wurfuY2V5OfXcVvlPjRdf OFeCvQdsWj7nxM+ero/2cOG6t5FdRmLainlTYIMPYOyV/z7eN9CeGNU69rwATybj8dTE POY/zuuLHEdGjHlOgEpmh5FoShyUuPKVuHjkMdMNH2pWz0+IZgURnNInrEpFxFdQg3GJ RlHfCfLJZhDhHsVacV13jQkQDVgeQaCerlf3QBUvuLqblYE28TogjZhICOZidPf2DoQB bG6N+4fljE2264q+hashDrSCVltHQ9mfbfPu0De6r78T8q0q7mTnBbZrIzFKPAdSrNM/ /c8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ah7WkdZj; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p19-v6si16251291pgm.109.2018.08.13.01.19.37; Mon, 13 Aug 2018 01:19:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ah7WkdZj; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6FDF578F7B; Mon, 13 Aug 2018 08:18:31 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mail.openembedded.org (Postfix) with ESMTP id 5AABD605BE for ; Mon, 13 Aug 2018 08:18:06 +0000 (UTC) Received: by mail-pg1-f177.google.com with SMTP id k3-v6so7196845pgq.5 for ; Mon, 13 Aug 2018 01:18:07 -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=sO0TdRVSObMZ38COMpuLx80u9+hyqbz6ECbjZjCmtfA=; b=Ah7WkdZjzOmonlhn9gRhM5pfmMio7VZkAqK6ZdO5umM3isAD3VjTmx2UjhOz48+YMW aA7Jv/4yhWh15uWswDVFndu6sj0IdqzeQ9JN4D+Rmke3WgWYfVMKqfQYRLR+ay63EwXw pqchwcmir3Pwd+xYm5SU1BBSpyyfGdg04n0+LoWQd6O/Xnv/zOYrnvc1d1MmN/6MoKrt KffUjkmSqAJfCLDCLBxo/9WStXPrMCfx3f4QDviwxO4rVtkVZ2747K3IU/otIzD9Kt5c 540/fI+xDLHEZybjNVV0TH5uDpZJrb3kO1t3IifbFNZwnOb8WnMebdfe8GbJxnGGIfB/ d/mQ== 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=sO0TdRVSObMZ38COMpuLx80u9+hyqbz6ECbjZjCmtfA=; b=r6hdI4dKQSM0Snpb0kJ1Ot6S8aNIXYdptAjTSoLspJTq4TvYwJjlSYdN8L13htX8Di vz3JrcoLKuDycDA+N47EXVTItGu+Hqo7WCRiWVxeY/acxawJHlXdkv+sKHlfwcDpBwCm uHTzRmMyx2yei4CtXVu/KmliraEOxxQrQrYFXxx8TVmAOThcg8H1rBK4I4VGllFfA4/5 ZewYIhu8j88rXQbAirbtwLytJB5lm84hvc6uevwAR3XFdL0CmAWZEFXndwmYughLMNtY iS4EuxuQvbut6mmspQ76waWB1QfqoFRCSuaKI7FgXcopD/0/RVhR5+MQ9Yqwq9+vl3J5 dqkg== X-Gm-Message-State: AOUpUlH2+LUjrjT81HPWs4D7R1GCyw9KRdqGUPWc2pchpOLi96cauTte 2y39lyQkdBbI/uYucTkaJkf0pCGp X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr18171320pfm.184.1534148287129; Mon, 13 Aug 2018 01:18:07 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f217]) by smtp.gmail.com with ESMTPSA id b64-v6sm23414971pfg.66.2018.08.13.01.18.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 01:18:06 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 13 Aug 2018 01:17:34 -0700 Message-Id: <20180813081742.6961-13-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180813081742.6961-1-raj.khem@gmail.com> References: <20180813081742.6961-1-raj.khem@gmail.com> Subject: [oe] [meta-gnome][PATCH 13/21] usermode: Fix build with glibc 2.28+ 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 --- ...lude-sys-sysmacros.h-for-major-minor.patch | 25 +++++++++++++++++++ .../usermode/usermode_1.112.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch -- 2.18.0 -- _______________________________________________ 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-Include-sys-sysmacros.h-for-major-minor.patch b/meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch new file mode 100644 index 0000000000..277f6e21b0 --- /dev/null +++ b/meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch @@ -0,0 +1,25 @@ +From 75539659396b18110d5a52a8a32845254b4d8eca Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 11 Aug 2018 18:25:47 -0700 +Subject: [PATCH] Include sys/sysmacros.h for major/minor + +usermount.c:238: undefined reference to `major' + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + usermount.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/usermount.c b/usermount.c +index 4107027..21ef77f 100644 +--- a/usermount.c ++++ b/usermount.c +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/meta-gnome/recipes-support/usermode/usermode_1.112.bb b/meta-gnome/recipes-support/usermode/usermode_1.112.bb index 51f81a1fac..82ccf3eda7 100644 --- a/meta-gnome/recipes-support/usermode/usermode_1.112.bb +++ b/meta-gnome/recipes-support/usermode/usermode_1.112.bb @@ -17,6 +17,7 @@ SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \ file://0001-fix-compile-failure-against-musl-C-library.patch \ file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \ file://0001-Missing-n-in-translated-string.patch \ + file://0001-Include-sys-sysmacros.h-for-major-minor.patch \ " SRC_URI[md5sum] = "a766a9f7600f573fb6de4655d4162196" SRC_URI[sha256sum] = "37c4d667209da14082c08df6e48fe955d1532efebd5322f13f94683c6cc10370"