summaryrefslogtreecommitdiff
path: root/sys-block
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-28 09:11:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-28 09:11:58 +0100
commitc50fa1b9d54c15707ec744b80db6610da7dd7832 (patch)
tree32b63837ee84220100640b5b035b0f8f94405b88 /sys-block
parent1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 (diff)
gentoo auto-resync : 28:09:2022 - 09:11:58
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/Manifest.gzbin10694 -> 10697 bytes
-rw-r--r--sys-block/scsiping/Manifest3
-rw-r--r--sys-block/scsiping/files/scsiping-0.0.1-clang16.patch8
-rw-r--r--sys-block/scsiping/scsiping-0.0.1-r1.ebuild19
4 files changed, 23 insertions, 7 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz
index 6a3460b5519a..4d815d523320 100644
--- a/sys-block/Manifest.gz
+++ b/sys-block/Manifest.gz
Binary files differ
diff --git a/sys-block/scsiping/Manifest b/sys-block/scsiping/Manifest
index 2d5a85c65271..eecf44af6ff5 100644
--- a/sys-block/scsiping/Manifest
+++ b/sys-block/scsiping/Manifest
@@ -1,3 +1,4 @@
+AUX scsiping-0.0.1-clang16.patch 159 BLAKE2B ea7d7933dcb6884249988f1d88cc99ab3a24972720b6dd62d18c370c0d42fda2c37776b3778df35f584237f3848704d4d21a6d75cbec5da399a0743d18818434 SHA512 0800ff1dd0fa60beb80d6b31e8b78b515a691af2211e9c54639335ebd4ee78796a07e56813e458cb0ee4428fdcc27cf1955b2b3aa59fece12dcabd17e3c77005
DIST scsiping-0.0.1.tgz 1633 BLAKE2B 81c59f3179e3108aca99f5526f27784c74e9e4a88f27cac316c68a31d979ff43acbc1d1f4733aa918b648f897fe2c211b873c69349a9c3ad63e4ab33219127cf SHA512 ba296f259399c61abecb72793753982ec8effd3ee3c7a1445f10449956b1d42443c989890f8a37e88db4d6bd12eae826b236cd84650cd19ea99602a13dcd9f20
-EBUILD scsiping-0.0.1-r1.ebuild 623 BLAKE2B 0adc7819c4a83d64ab8228ad9100f88cf26734a3a9b2bb9eb0d5fd23863a0aed42ce40df0c08648b1e3c586ab6a2ec81f49ea8c9da0e04e03e9fe836465db2ae SHA512 38394e5a89be5dec0f7c94a16be20c41b64b3d8ac2c6d2c802cda548d935f443400ab222cff179cc4cff965cfb3d09992c11da49008316ef7e42b3b5ad37da15
+EBUILD scsiping-0.0.1-r1.ebuild 703 BLAKE2B 801d209bedc1043208674cf31c2e2fef5f250e89f296d7f744dcd1402377562c987794038b9b615c65c822f7c263f8285ebfc80eb29b6b3a89fb3172cd6be7b3 SHA512 5ba7bb4621cb4dc7d738e1d4a277e61ebfacbbcbbf953e777fb6258c0249c28db2d2fcdbf67956bd49d370f9934fae36b8094a1a08990d7c1da814da4006c08b
MISC metadata.xml 217 BLAKE2B fbec54484edc2603e95c90cb231985ef0f5f8d2cd48632ac8a097a4dac165499ff4cc087b1ca9ba6a4368bbb73b3af1ee99622a80df17072e1a340c345a2ee64 SHA512 7d3fc456b183fe7bdea26fb6edce39f702741a762b74cd7d2159a0ba85af50ebc87fbd921c926692a6164d50c9faf6b19680ab96528819bb06aaeac679e42de2
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 c3cc60f5cb01..d3777024a378 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -1,23 +1,30 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+inherit toolchain-funcs
DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
-HOMEPAGE="https://www.vanheusden.com/Linux/"
-SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-clang16.patch
+)
+
src_prepare() {
- sed -i -e '/strip scsiping/d' "${S}"/Makefile
default
+
+ sed -i '/strip scsiping/d' Makefile || die
}
src_compile() {
- emake DEBUG='' CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {