From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/partimage/, sys-block/partimage/files/
Date: Wed, 29 Dec 2021 07:21:12 +0000 (UTC) [thread overview]
Message-ID: <1640762458.8e680a4ed8101da64e79f204241f5b894e625218.sam@gentoo> (raw)
commit: 8e680a4ed8101da64e79f204241f5b894e625218
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 29 07:20:58 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <anarchy@gentoo.org>
+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 <ctype.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/ioctl.h>
+ #include <sys/mount.h>
+ #include <sys/time.h>
+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 <pthread.h>
+
+ #include <sys/param.h>
++#include <sys/types.h>
+
+ #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
next reply other threads:[~2021-12-29 7:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-29 7:21 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-18 21:02 [gentoo-commits] repo/gentoo:master commit in: sys-block/partimage/, sys-block/partimage/files/ Conrad Kostecki
2022-04-02 18:36 Conrad Kostecki
2019-01-04 20:54 Thomas Deutschmann
2016-04-19 22:39 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1640762458.8e680a4ed8101da64e79f204241f5b894e625218.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox