From patchwork Mon Feb 4 23:11:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1036326 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IPwP285G"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43tk3t47yTz9s3l for ; Tue, 5 Feb 2019 10:11:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 13FE3872B6; Mon, 4 Feb 2019 23:11:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jiBBF-Le6GPh; Mon, 4 Feb 2019 23:11:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 39B6486B33; Mon, 4 Feb 2019 23:11:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C5C481BF388 for ; Mon, 4 Feb 2019 23:11:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C396330048 for ; Mon, 4 Feb 2019 23:11:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CTa7Qt+88v4D for ; Mon, 4 Feb 2019 23:11:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-it1-f196.google.com (mail-it1-f196.google.com [209.85.166.196]) by silver.osuosl.org (Postfix) with ESMTPS id 3FFB22154E for ; Mon, 4 Feb 2019 23:11:34 +0000 (UTC) Received: by mail-it1-f196.google.com with SMTP id d11so4071747itf.2 for ; Mon, 04 Feb 2019 15:11:34 -0800 (PST) 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=RFe4P5iMM8JoQ9DNYqCDfLlG4WIGyoZTlSMHcSHmIJ8=; b=IPwP285GcEW2eefLWKoymFWqo3eVlogagU8/vkNOfgfnLJvEKhzloX1md2+WHsqniQ KlWT3q9gWPin8HZU82Kkvgc5GpRj0eM5CzDmG+5qsaNO6iG/ASVBnaYawdXwnXsX5LaO N5Fu0OI1w8rlZZJpwHm9SSKsqok5zGoadAdpem+P3PI7tYxeFAyBzoKklABBXRfZegJj QFYcQHHJ/QYuSUxN+wqvw5eBFR42XaleC/AXXLUnZuh00TP3qbw3vnAn+couKxXF4lIe u0oKZ/5cAZDJpWA4doMyTkTLnW7bGajnKYfShYx1DNeEfQIEflzU7yHkkhXjYwfVXzgC zNKg== 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=RFe4P5iMM8JoQ9DNYqCDfLlG4WIGyoZTlSMHcSHmIJ8=; b=nKvPM0wtxdcYzeAx80pp/yYGKgsgZzJAeKlw/m4eNpZGzA8sSc5cRg5RrlTV4P3m+P elATkOCG9saCZvQvln86sE/KyoVZB7Ojw0ObxGC7D3LSFHMRiGf8cFR/6SHFgNAg0dke FuAFq2jNjJADJ+oyus7NkM6z/CJZ6LqAHuqrjvzFzVAAD4jN4uLtLUGio0VKxnCiLBg2 VgnwYR9mxwn6DFNqKnQOg+zYjYXWlXIwzD4T+DaLJHGPCg0YPSEzsEKr1Us8aMwVplq4 WJLJSGRZn40uENHOBMC9I2TF4g5wav/nYwJasgWsIeBLevi7eLKanCHIZA+21dTpihEW sOBw== X-Gm-Message-State: AHQUAuaLjCaDimobRnuB7E2oFuZTwvdFg/29BzZJ4rXWXUHkV8v0JG6a uFnRLUPlYab+DgF1RVTdssTMAE9H X-Google-Smtp-Source: AHgI3IasttSLEUcTlyy1RT8TLv/XDUKXSAhMcBcTkcpMEmNl0owzndvhfk0Mw5CJea4BnbMgub8oAg== X-Received: by 2002:a02:c81a:: with SMTP id p26mr1099139jao.59.1549321893214; Mon, 04 Feb 2019 15:11:33 -0800 (PST) Received: from dragon.Home (97-118-109-38.hlrn.qwest.net. [97.118.109.38]) by smtp.gmail.com with ESMTPSA id m45sm664865iti.10.2019.02.04.15.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Feb 2019 15:11:32 -0800 (PST) From: james.hilliard1@gmail.com To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 07:11:18 +0800 Message-Id: <1549321878-9108-2-git-send-email-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549321878-9108-1-git-send-email-james.hilliard1@gmail.com> References: <1549321878-9108-1-git-send-email-james.hilliard1@gmail.com> Subject: [Buildroot] [PATCH v2 2/2] gnu-efi: fix stdint include location X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard , Fabrice Fontaine , "Yann E . MORIN" , Thomas Petazzoni , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: James Hilliard Some applications such as systemd-boot include efilink.h without a libc. Move the stdint.h include to lib.h so that efilink.h can be used directly without requiring a libc. Signed-off-by: James Hilliard --- .../0001-efilink-fix-build-with-gcc-4.8.patch | 32 ++++++++++------------ 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch b/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch index 57c78c9..7938a69 100644 --- a/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch +++ b/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch @@ -1,4 +1,4 @@ -From 6335e5c697c57d8b5854b8202de3733bcb151ca6 Mon Sep 17 00:00:00 2001 +From 4a00c8403a09634cc4fbff2421f2fa7af7b2c657 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 18 Jan 2019 22:05:37 +0100 Subject: [PATCH] efilink: fix build with gcc 4.8 @@ -8,28 +8,26 @@ intptr_t is undefined without an include on stdint.h Fixes: - http://autobuild.buildroot.org/results/a0ca37b5ed27af445344e3ac49dc87bb17512c50 +Signed-off-by: James Hilliard Signed-off-by: Fabrice Fontaine [Upstream status: -https://sourceforge.net/p/gnu-efi/code/merge-requests/3] +https://sourceforge.net/p/gnu-efi/code/merge-requests/4] --- - inc/efilink.h | 4 ++++ - 1 file changed, 4 insertions(+) + lib/lib.h | 1 + + 1 file changed, 1 insertion(+) -diff --git a/inc/efilink.h b/inc/efilink.h -index cc5aa2d..b69a6fd 100644 ---- a/inc/efilink.h -+++ b/inc/efilink.h -@@ -1,6 +1,10 @@ - #ifndef _EFI_LINK_H - #define _EFI_LINK_H +diff --git a/lib/lib.h b/lib/lib.h +index 37fbb95..7858cd0 100644 +--- a/lib/lib.h ++++ b/lib/lib.h +@@ -18,6 +18,7 @@ Revision History -+#if defined(__GNUC__) + #ifdef __GNUC__ + #pragma GCC visibility push(hidden) +#include -+#endif -+ - /*++ + #endif - Copyright (c) 1998 Intel Corporation + #include "efi.h" -- -2.14.1 +2.7.4