From patchwork Mon Aug 15 17:17:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5873 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 4M61FZ1775z3wfK for ; Mon, 15 Aug 2022 17:18:10 +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 4M61FS14vfz5Xy; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS0h3zz303M; Mon, 15 Aug 2022 17:18:04 +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 4M61FP1lwcz2yK8 for ; Mon, 15 Aug 2022 17:18:01 +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 4M61FM3jHdz5XJ; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) 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=cGlroUzO1ERyGuzX2jyBL6qXoIvdjwJmxarApcud5B4=; b=4rJhT9dCPS3pMZZT3L+T23GdhD9fgZq8cOM/nlnICGda0vGdj7NyuULKli86vg/FgXUo0D n89QZCiaK9t+GsDg== 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=cGlroUzO1ERyGuzX2jyBL6qXoIvdjwJmxarApcud5B4=; b=IGzpGJiAJ5TDtnjfuxY4iWlEEzqATluA/hW5S3dzubaKhoFo9+kMakVRgvasHBIyqnMVLx MOJAAUoofOzQ88upjF8BMlyDgtJa/ZhnFsg3CzFynf4EDqPNz7BlGabVWgsc9O8i3J7PlD i+l2ONW59GmqNy6j9ueCCARbeDQqnOFAy1c/eu+Dtj3jUoZnNSt89X4cMR4Srm3qxKtoDp hU/6b9Q74+qlR42sB6R/34ex13pfdw42/KRI8TYcF7mLiL0M6a1hKx+wr8kyY/KzxtROF+ 3rjPTacMBvL63avKd43t2IQ1ifD7ZiNNU+okp+caUUszdJSUhfyTs8XssEMWTA== 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> 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/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-headers.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/src/patches/qemu-7.0.0-fix-glibc-headers.patch b/src/patches/qemu-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