public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/, app-benchmarks/ioping/
@ 2016-04-19  6:50 Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2016-04-19  6:50 UTC (permalink / raw
  To: gentoo-commits

commit:     d4ba6009f6a27fbc13de33957ee145dd5f1351dd
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 06:50:02 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 06:50:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ba6009

app-benchmarks/ioping: fix build w/newer glibc #579982

 .../ioping/files/ioping-0.9-sysmacros.patch        | 29 ++++++++++++++++++++++
 app-benchmarks/ioping/ioping-0.9.ebuild            |  1 +
 2 files changed, 30 insertions(+)

diff --git a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch
new file mode 100644
index 0000000..837d395
--- /dev/null
+++ b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/579982
+
+From c56a8a442e79a8837074e0e573f6319efa492ba8 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Tue, 19 Apr 2016 02:44:33 -0400
+Subject: [PATCH] ioping: include sys/sysmacros.h for makedev
+
+The makedev prototype is in sys/sysmacros.h, so include it.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ ioping.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ioping.c b/ioping.c
+index aae4704..80f4bb4 100644
+--- a/ioping.c
++++ b/ioping.c
+@@ -48,6 +48,7 @@
+ #ifdef __linux__
+ # include <sys/ioctl.h>
+ # include <sys/mount.h>
++# include <sys/sysmacros.h>
+ # define HAVE_POSIX_FADVICE
+ # define HAVE_POSIX_MEMALIGN
+ # define HAVE_DIRECT_IO
+-- 
+2.7.4
+

diff --git a/app-benchmarks/ioping/ioping-0.9.ebuild b/app-benchmarks/ioping/ioping-0.9.ebuild
index b6079a3..ee40cf8 100644
--- a/app-benchmarks/ioping/ioping-0.9.ebuild
+++ b/app-benchmarks/ioping/ioping-0.9.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 IUSE=""
 
 src_prepare() {
+	epatch "${FILESDIR}"/${P}-sysmacros.patch #579982
 	sed \
 		-e 's: -g : :g' \
 		-e 's: $(LDFLAGS) : :g' \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/, app-benchmarks/ioping/
@ 2021-04-19 19:41 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-19 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     9ad1d86bf46034c554fa5f5193c45a28d8d56f0d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 19:32:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 19:40:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad1d86b

app-benchmarks/ioping: drop 0.9, 1.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-benchmarks/ioping/Manifest                     |  2 --
 .../ioping/files/ioping-0.9-sysmacros.patch        | 29 ----------------
 app-benchmarks/ioping/ioping-0.9.ebuild            | 39 ----------------------
 app-benchmarks/ioping/ioping-1.0.ebuild            | 33 ------------------
 4 files changed, 103 deletions(-)

diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest
index 5cddcbf192e..eb34bea7266 100644
--- a/app-benchmarks/ioping/Manifest
+++ b/app-benchmarks/ioping/Manifest
@@ -1,3 +1 @@
-DIST ioping-0.9.tar.gz 23695 BLAKE2B 41b37ad8dabd2c2e16f26798d878807c38e0d03bc4964a001f8800d0f398ba48335b1187e1f04cd235a980c5dce7e864c471fce8d46ca24a65f2022847eb8ebd SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c
-DIST ioping-1.0.tar.gz 28824 BLAKE2B bb0f28e560419167450b27846650ff131c9cbb23c5df7f518afa8cea6a83bd97142d7ad8920b9ec86754deea0dcbf36af923223c78df6488f3623f2df852b59c SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84
 DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201

diff --git a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch
deleted file mode 100644
index 837d395201b..00000000000
--- a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://bugs.gentoo.org/579982
-
-From c56a8a442e79a8837074e0e573f6319efa492ba8 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Tue, 19 Apr 2016 02:44:33 -0400
-Subject: [PATCH] ioping: include sys/sysmacros.h for makedev
-
-The makedev prototype is in sys/sysmacros.h, so include it.
-
-Signed-off-by: Mike Frysinger <vapier@gentoo.org>
----
- ioping.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/ioping.c b/ioping.c
-index aae4704..80f4bb4 100644
---- a/ioping.c
-+++ b/ioping.c
-@@ -48,6 +48,7 @@
- #ifdef __linux__
- # include <sys/ioctl.h>
- # include <sys/mount.h>
-+# include <sys/sysmacros.h>
- # define HAVE_POSIX_FADVICE
- # define HAVE_POSIX_MEMALIGN
- # define HAVE_DIRECT_IO
--- 
-2.7.4
-

diff --git a/app-benchmarks/ioping/ioping-0.9.ebuild b/app-benchmarks/ioping/ioping-0.9.ebuild
deleted file mode 100644
index 432a18e7506..00000000000
--- a/app-benchmarks/ioping/ioping-0.9.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Simple disk I/0 latency measuring tool"
-HOMEPAGE="https://github.com/koct9i/ioping"
-SRC_URI="https://github.com/koct9i/ioping/releases/download/v${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch )
-
-src_prepare() {
-	default
-	sed \
-		-e 's: -g : :g' \
-		-e 's: $(LDFLAGS) : :g' \
-		-e 's: -o : $(LDFLAGS) -o :g' \
-		-e 's:-s -m:-m:g' \
-		-e 's:LICENSE::g' \
-		-e 's:-O2.*::g' \
-		-i Makefile || die
-}
-
-src_compile() {
-	emake \
-		CC="$(tc-getCC)" \
-		PREFIX="${EPREFIX}/usr"
-}
-
-src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-}

diff --git a/app-benchmarks/ioping/ioping-1.0.ebuild b/app-benchmarks/ioping/ioping-1.0.ebuild
deleted file mode 100644
index 2c18dfe8efa..00000000000
--- a/app-benchmarks/ioping/ioping-1.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Simple disk I/0 latency measuring tool"
-HOMEPAGE="https://github.com/koct9i/ioping"
-SRC_URI="https://github.com/koct9i/ioping/archive/v1.0.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-src_prepare() {
-	default
-	sed \
-		-e 's:LICENSE::g' \
-		-i Makefile || die
-}
-
-src_compile() {
-	emake \
-		CFLAGS="${CFLAGS}" \
-		CC="$(tc-getCC)" \
-		PREFIX="${EPREFIX}/usr"
-}
-
-src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-19 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 19:41 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/, app-benchmarks/ioping/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2016-04-19  6:50 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox