* [gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/, sys-block/scsiping/files/
@ 2022-09-28 2:35 Ionen Wolkens
0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-09-28 2:35 UTC (permalink / raw
To: gentoo-commits
commit: 4153ee687b291e4ce63a3826a85ec044b736a492
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 28 00:31:29 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 02:34:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4153ee68
sys-block/scsiping: fix build with clang16
Previous commit let this respect CC, so maybe clang
will be used now...
Closes: https://bugs.gentoo.org/870445
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
sys-block/scsiping/files/scsiping-0.0.1-clang16.patch | 8 ++++++++
sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch b/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
new file mode 100644
index 000000000000..9e57d9cc4aa0
--- /dev/null
+++ b/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/870445
+--- a/main.c
++++ b/main.c
+@@ -2,2 +2,4 @@
+ #include <stdio.h>
++#include <stdlib.h>
++#include <sys/ioctl.h>
+ #include <string.h>
diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
index 745fd177ef62..d3777024a378 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -13,6 +13,10 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-clang16.patch
+)
+
src_prepare() {
default
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-28 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 2:35 [gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/, sys-block/scsiping/files/ Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox