From patchwork Mon Jul 22 07:26:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 169345 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp7170195ilk; Mon, 22 Jul 2019 00:26:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4J8/lqx3fL8Uf0BCk5+sDWcJ70HDkV1bWp+p8Y/otYYLxj6A0r/lsm75Kj/bVZ5LQMuPH X-Received: by 2002:a65:690e:: with SMTP id s14mr56787509pgq.47.1563780415644; Mon, 22 Jul 2019 00:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563780415; cv=none; d=google.com; s=arc-20160816; b=ryKjMn9B0L1eOOtqE4EZ5XXke6km5D7/4exh2YYpUXmyI3B3DVjTax0zlcDIqCR/9U g/wRSkevmlxqo7TbWAgtlN4pbOoHoiygz8rQvcj1k8qPbZ1u2anPgLXuXrmsmHX5elo9 /OCI0IWVNp73mIvcagsjCdY0Xq8OhyBzyDsLYoaPuI9RLXFQEJwVr3MBbxBCdCruV88V sgHEVVcwPJjRWZAb2XBcV32eDLU/hQDYe+jqRchl3Ru0qzaGGRDSfOc0EW42QpKhVF8E cUFcNT0fJ0s/jkS2r7cfTIleKy9VL0aMmmgadZYoPreUpRaOo05BCk1H1HtKYtZ+KavI jLTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :user-agent:content-disposition:mime-version:message-id:to:from:date :dkim-signature:delivered-to; bh=hFY8e0XP8eU8HS2omn4XoMEmBK/giboSm+MG42VTXxk=; b=g7iMYPoEJjlm/I8LXGpOXsnS/CVAWUIA122NT0eYqgd3v/HDZXVkp/sb0tAOJ6q1XL 3AIu7axJqt6LEtBXw91DJT5+J7ZShluaELLMO10wh85RG2EM2DU+OzDDtuLBt3Lc2Hqh dqUJ1+E0yGPUphznZK+J6gpoh2wNeFyeaQYTBGk8TTqr67TMMyrTmzoiXVpHsFsEG0bo i51Jqxz9PxHCYw6O/EIwrACIzPwtiYuHyw5Aa6/0kzhL+wtZdaYBRT2pFBepirj9Phh5 d7ku6P2hbFgraMJkoWhqcA2y/IcwL4cdcXhxuV4TiXdeNFc6hmjZQOz/QzuwdG4pDZhm 9+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qFN86pCP; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 h15si7569394pgi.570.2019.07.22.00.26.55; Mon, 22 Jul 2019 00:26:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=qFN86pCP; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 85D157F013; Mon, 22 Jul 2019 07:26:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id 313497EFF5 for ; Mon, 22 Jul 2019 07:26:42 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id f20so8005370pgj.0 for ; Mon, 22 Jul 2019 00:26:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=cwOzglr40ogbE30J9QjFg7lUZxWWqy2isLO/L9aVvHM=; b=qFN86pCP9AXaHdXK91YixA9sgsSeKiz/m3VX7bhpdvmdqOQDs01xpEmHMMgtlpZx2h Ba9SVbb6NV1fg8xsAcseygRj9MmDijjMXF89jE3jlzj0CQmGFIemoMqZLgka0k71/G8o FMjEoWtDrvRtWZB9vXiR9iBn3/UZ+vobHvBVMP37pBWkPko6acAvWX4PK9fP8ZrMd3yb j2DPgwtK67ENZntvGm4PNBwoNOM6jaNsWjHbqUCY3dCVBRRvymm8cBHu5v1zGt82mv/Y 23oKTvNgKfz2vbSeEMbHC5zBAWw1hkHI9dThKlc88HXayMrf5RUmml+Ppu/Cf4hBd5ey WTqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=cwOzglr40ogbE30J9QjFg7lUZxWWqy2isLO/L9aVvHM=; b=Zgj++m9scMMfD5WGZAcLWSwyYg5tFuaAYVIeqCpqpOaC/Un9g+s1Vl/kYHHv7k1QbP sBWzgvo8Syfv/kEDIJWawc5eSVOhpZIIXVxFgLZC+/6OBdusRJLxjjY2Kw1YJvOqxw0i maqpYxPfQo3f2arWguZ2svCVKf7hRrcqN5p+dmIZFFNlSrbJZnMhWLHNIux7l6Y8MZKb kvCPocl51WahkVp2D7BZKObrweIQ9nxwoq4/kZJ2HaKyQ0cbB7QLW64IipVMy4Vo4IwX ujGADk7mZOFSAxF9DPZxhlNHS/bnYuQaEHfLseyUfZJjU6dOD6ZVxNEU0ENLlniyoAoP 9ecA== X-Gm-Message-State: APjAAAWcj5n9S47AffD/CvQv4c3fJL8XHR3PlRlCDiv/YAd+RBIifq0R qGMj7oKnKUcYnaPGaKGs6fbk0DLaGII= X-Received: by 2002:a17:90a:2190:: with SMTP id q16mr73193018pjc.23.1563780402882; Mon, 22 Jul 2019 00:26:42 -0700 (PDT) Received: from apollo (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id i9sm30513421pgg.38.2019.07.22.00.26.42 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 00:26:42 -0700 (PDT) Date: Mon, 22 Jul 2019 00:26:32 -0700 From: Khem Raj To: openembedded-core@lists.openembedded.org Message-ID: <20190722072632.7q2t3zxuo6p6h7en@apollo> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 Subject: [OE-core] [PATCH 2/3] mdadm: Include sys/sysmacros.h for major/minor definitions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Fixes implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration] which eventually ends up with a linker error Signed-off-by: Khem Raj --- .../mdadm/files/include_sysmacros.patch | 14 ++++++++++++++ meta/recipes-extended/mdadm/mdadm_4.1.bb | 1 + 2 files changed, 15 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/include_sysmacros.patch -- 2.22.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/mdadm/files/include_sysmacros.patch b/meta/recipes-extended/mdadm/files/include_sysmacros.patch new file mode 100644 index 0000000000..8a1d8342d8 --- /dev/null +++ b/meta/recipes-extended/mdadm/files/include_sysmacros.patch @@ -0,0 +1,14 @@ +include sys/sysmacros.h for major/minor macro definitions + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/mdadm.h ++++ b/mdadm.h +@@ -35,6 +35,7 @@ extern __off64_t lseek64 __P ((int __fd, + + #include + #include ++#include + #include + #include + #include diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb index 0cd9626f27..74c94f6ecb 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.1.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb @@ -21,6 +21,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://0001-Revert-tests-wait-for-complete-rebuild-in-integrity-.patch \ file://mdadm.init \ file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \ + file://include_sysmacros.patch \ " SRC_URI[md5sum] = "51bf3651bd73a06c413a2f964f299598" SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a"