From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 10/15] qemu: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:48 +0000 Message-ID: <20220815171753.1858688-10-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8160871870383663794==" List-Id: --===============8160871870383663794== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- lfs/qemu | 1 + src/patches/qemu-7.0.0-fix-glibc-headers.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/patches/qemu-7.0.0-fix-glibc-headers.patch diff --git a/lfs/qemu b/lfs/qemu index 1edab05d1..fe637d93d 100644 --- a/lfs/qemu +++ b/lfs/qemu @@ -94,6 +94,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-7.0.0-fix-glibc-h= eaders.patch cd $(DIR_APP) && ./configure \ --prefix=3D/usr \ --sysconfdir=3D/etc \ diff --git a/src/patches/qemu-7.0.0-fix-glibc-headers.patch b/src/patches/qem= u-7.0.0-fix-glibc-headers.patch new file mode 100644 index 000000000..9332563bc --- /dev/null +++ b/src/patches/qemu-7.0.0-fix-glibc-headers.patch @@ -0,0 +1,11 @@ +--- qemu-7.0.0/linux-user/syscall.c~ 2022-08-10 14:03:50.721401251 +0000 ++++ qemu-7.0.0/linux-user/syscall.c 2022-08-10 14:00:22.569951783 +0000 +@@ -28,7 +28,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include --=20 2.30.2 --===============8160871870383663794==--