From mboxrd@z Thu Jan 1 00:00:00 1970 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0445347312006394641==" List-Id: --===============0445347312006394641== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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/hd= parm-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 --=20 2.30.2 --===============0445347312006394641==--