From patchwork Mon Aug 15 17:17:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5871 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FX6kNvz3wfS for ; Mon, 15 Aug 2022 17:18:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FQ1dg5z5Y2; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FP6mn4z30M7; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FN15tpz2yp1 for ; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FM1SFvz5X6; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+YnadzMCFl2qHCyymxl6DjY3mbrjrvO5dApIficXp90=; b=MDwwmSfpKmbCBxiGgD89qxZoK1/lLIzwymoPZZ55hK7bz2PvxfRmh28kEPfy9IUKYjpf4z EYIzGOveRIn92KjyOTBiIdktWBzGWJt5KzIWGCR5C5K08JN8Mu7UZg+wE2En7vdxFn1TVX JIfTx8JUYxizgSGWT1o5zed0JhsCfnoMNJVtqJZp57gyD8PoT45VY0KDW3GzA3Ob2Hkaoa ymggK6Sz6xsycq4yC4wrmdDkyeDRAPPiU4C3RzEqvdN20Z99JpB2lH1yBNMUqOwGh1WXld 8OJz4Gck5JL4h8RHjXVFKJrR3YZMK0HAKJMmur1hEPNbDM4Nr6fzyvccZq/nZw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+YnadzMCFl2qHCyymxl6DjY3mbrjrvO5dApIficXp90=; b=68OM7AWtvTp1WOuflVsuMo6UNOIRofNw61oJOQN44ZbRtmFc5UGXN7xG5moJCyKjdIRxfJ VGBmzktuU22k5cBw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 08/15] hdparm: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:46 +0000 Message-Id: <20220815171753.1858688-8-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/hdparm | 1 + src/patches/hdparm-9.64-fix-glibc-headers.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/patches/hdparm-9.64-fix-glibc-headers.patch diff --git a/lfs/hdparm b/lfs/hdparm index 704317a6a..8d3f6d1cf 100644 --- a/lfs/hdparm +++ b/lfs/hdparm @@ -70,6 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/hdparm-9.64-fix-glibc-headers.patch cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) diff --git a/src/patches/hdparm-9.64-fix-glibc-headers.patch b/src/patches/hdparm-9.64-fix-glibc-headers.patch new file mode 100644 index 000000000..7589c861e --- /dev/null +++ b/src/patches/hdparm-9.64-fix-glibc-headers.patch @@ -0,0 +1,11 @@ +--- hdparm-9.64/hdparm.c ++++ hdparm-9.64/hdparm.c +@@ -24,9 +24,6 @@ + #include + #include + #include +-#include +-#include +-#include + #include + #include