mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
8
sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
Normal file
8
sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
Normal file
@@ -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>
|
||||
@@ -13,6 +13,10 @@ LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-clang16.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user