From patchwork Tue Mar 19 11:28:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 1058357 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.137; helo=fraxinus.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="IFMfO1ND"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44NrSW3QR1z9s4Y for ; Tue, 19 Mar 2019 22:30:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 89D6A85BCD; Tue, 19 Mar 2019 11:30:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t0GU1-2QvmHu; Tue, 19 Mar 2019 11:30:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5DD14850AD; Tue, 19 Mar 2019 11:30:00 +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 05F481BF873 for ; Tue, 19 Mar 2019 11:29:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id F076C23420 for ; Tue, 19 Mar 2019 11:29:58 +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 0bBmBqbFGFth for ; Tue, 19 Mar 2019 11:29:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by silver.osuosl.org (Postfix) with ESMTPS id 027F32153F for ; Tue, 19 Mar 2019 11:29:57 +0000 (UTC) Received: by mail-lf1-f52.google.com with SMTP id y62so6008534lfc.13 for ; Tue, 19 Mar 2019 04:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=03peAJZJCU6ns2iixyOLDzPf7w4zD9xel4EqMvu8BMw=; b=IFMfO1ND+gwp0KoLo+pTPIJKVCzjOSMUqplZ404wc4DgQ4w7b8lU27wK8QymM31Mob DAb8zYQTmNZA1X3CAlHi1wm0Wv/JYhrkGqhA781PQnzI3MoROpejP7qUjXyqKDmcwkyF h5033iinOBJpJGaAEQaMM42IW5bcG0EnFaWvljv/6wiYTWbXyGYLoEQJX/3aJorh6gB5 Y6wThTHnOulpAyU4PdMZZGd3F1tXjQ/NdRATR38vKJOO/nuoOetKjA0u0vFZAznnJ45D wVkEipx1fO7DRr54Sg72V2FJx1stmOrY8AePwEZpsQQJofHeBcwr0YeRqGzA5aECrmVi UuyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=03peAJZJCU6ns2iixyOLDzPf7w4zD9xel4EqMvu8BMw=; b=N6iqIh7NIOlv5Gr1WWem/PsxIol4PvLTXtpubKJLt1qhCmjsAktM/eSsND1phVIHcu uCv2np73e6ulYw1D/X0yqgHaPgoxguaqMRgxe9kpckW71vRyBEYxXe0zsJiZ7mfwYqJb fDbp3uifmS18bnyKvruaL0wrvItXptCRe0294jeWa9ExKBJk5KIRxZH5JXXMxJdcIhQU huBS0Yhp7KaSd8Teo9uR+/SKm2HbetElKLTdhjR/I7y0bVt+ZoDlVSmWIYv9l801znPR 0RKO4zF5OmOmApTLkBhbWpx8vrNnLPN0Yw2wQPs5G8XFraghyZ23+1EkdBSgGcW3GcfC ODOQ== X-Gm-Message-State: APjAAAVo2SGHIfaS59jdnD8bEYD40/rqLXc4zfn15XCBNC9clFnyYQv3 x/RkACwazwp3X7p9yDk6Q/1Ejq5X X-Google-Smtp-Source: APXvYqxRV9wGFYrEqgmFP8TX4Lj+YH7o1b5HZbM2Gd/OT/kMXG+I0exeMtPHSg1srni8h1RQHo7K+g== X-Received: by 2002:a19:d602:: with SMTP id n2mr12511432lfg.165.1552994995922; Tue, 19 Mar 2019 04:29:55 -0700 (PDT) Received: from localhost ([193.163.1.7]) by smtp.gmail.com with ESMTPSA id m23sm872469lfj.89.2019.03.19.04.29.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 04:29:55 -0700 (PDT) From: Esben Haabendal To: buildroot@buildroot.org Date: Tue, 19 Mar 2019 12:28:52 +0100 Message-Id: <20190319112852.9592-4-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190319112852.9592-1-esben.haabendal@gmail.com> References: <20190319112852.9592-1-esben.haabendal@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/3] gummiboot: fix compatibility with newer glibc versions 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: Esben Haabendal Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Esben Haabendal Signed-off-by: Esben Haabendal --- boot/gummiboot/0001-glibc-2.25-fix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 boot/gummiboot/0001-glibc-2.25-fix.patch diff --git a/boot/gummiboot/0001-glibc-2.25-fix.patch b/boot/gummiboot/0001-glibc-2.25-fix.patch new file mode 100644 index 000000000000..377098f9ea60 --- /dev/null +++ b/boot/gummiboot/0001-glibc-2.25-fix.patch @@ -0,0 +1,16 @@ +Allow building with glibc with sys/sysmacros.h removed from sys/types.h. + +See https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html for why +this was done. + +diff -urN gummiboot-43~orig/src/setup/setup.c gummiboot-43/src/setup/setup.c +--- gummiboot-43~orig/src/setup/setup.c 2019-03-14 22:28:34.533206018 +0100 ++++ gummiboot-43/src/setup/setup.c 2019-03-15 06:40:07.895651992 +0100 +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + + #include "efivars.h" +