From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC0CF158086 for ; Wed, 29 Dec 2021 07:21:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE7CE2BC003; Wed, 29 Dec 2021 07:21:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 813B82BC003 for ; Wed, 29 Dec 2021 07:21:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C10B342BDB for ; Wed, 29 Dec 2021 07:21:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F09B3132 for ; Wed, 29 Dec 2021 07:21:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1640762458.8e680a4ed8101da64e79f204241f5b894e625218.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/partimage/, sys-block/partimage/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/partimage/files/partimage-0.6.9-missing-includes.patch sys-block/partimage/partimage-0.6.9-r2.ebuild X-VCS-Directories: sys-block/partimage/files/ sys-block/partimage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8e680a4ed8101da64e79f204241f5b894e625218 X-VCS-Branch: master Date: Wed, 29 Dec 2021 07:21:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb843fa1-06e9-4746-8cae-45072dfc8ce4 X-Archives-Hash: 243063e5fea7f2e72b957b2c4519b613 commit: 8e680a4ed8101da64e79f204241f5b894e625218 Author: Sam James gentoo org> AuthorDate: Wed Dec 29 07:20:58 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 29 07:20:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e680a4e sys-block/partimage: fix build on musl Closes: https://bugs.gentoo.org/715756 Signed-off-by: Sam James gentoo.org> .../files/partimage-0.6.9-missing-includes.patch | 34 ++++++++++++++++++++++ sys-block/partimage/partimage-0.6.9-r2.ebuild | 1 + 2 files changed, 35 insertions(+) diff --git a/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch b/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch new file mode 100644 index 000000000000..956afe8319a6 --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch @@ -0,0 +1,34 @@ +From 0b7b162fbbab1b1d4adf61c5e33f508be0e68895 Mon Sep 17 00:00:00 2001 +From: Jory Pratt +Date: Sun, 12 Apr 2020 13:25:49 -0500 +Subject: [PATCH] add missing includes + +--- + src/client/misc.cpp | 1 + + src/shared/common.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/client/misc.cpp b/src/client/misc.cpp +index a094803..1c96ef6 100644 +--- a/src/client/misc.cpp ++++ b/src/client/misc.cpp +@@ -40,6 +40,7 @@ + + #include + #include ++#include + #include + #include + #include +diff --git a/src/shared/common.h b/src/shared/common.h +index 71de058..eead7e3 100644 +--- a/src/shared/common.h ++++ b/src/shared/common.h +@@ -23,6 +23,7 @@ + #include + + #include ++#include + + #include "partimage.h" + diff --git a/sys-block/partimage/partimage-0.6.9-r2.ebuild b/sys-block/partimage/partimage-0.6.9-r2.ebuild index e747631d8dc5..34732ed47292 100644 --- a/sys-block/partimage/partimage-0.6.9-r2.ebuild +++ b/sys-block/partimage/partimage-0.6.9-r2.ebuild @@ -35,6 +35,7 @@ src_prepare() { eapply -p0 "${FILESDIR}"/${P}-zlib-1.2.5.2.patch #405323 eapply "${FILESDIR}"/${P}-minor-typo.patch #580290 eapply "${FILESDIR}"/${P}-openssl-1.1-compatibility.patch + eapply "${FILESDIR}"/${P}-missing-includes.patch eapply_user