public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/memtester/files/, sys-apps/memtester/
@ 2020-02-10  0:18 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-02-10  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     dca74e8493fee4b80a20d44c281feb9a20894d78
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 00:18:13 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 00:18:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca74e84

sys-apps/memtester: Port to EAPI 7

Closes: https://bugs.gentoo.org/708052
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../memtester-4.3.0-fix-gcc10-fno-common.patch     | 31 ++++++++++++++++++++++
 sys-apps/memtester/memtester-4.3.0.ebuild          | 16 ++++++-----
 2 files changed, 40 insertions(+), 7 deletions(-)

diff --git a/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch b/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch
new file mode 100644
index 00000000000..8bb58e5771c
--- /dev/null
+++ b/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch
@@ -0,0 +1,31 @@
+--- a/tests.c
++++ b/tests.c
+@@ -27,6 +27,9 @@
+ #define PROGRESSOFTEN 2500
+ #define ONE 0x00000001L
+ 
++union mword8_type mword8;
++union mword16_type mword16;
++
+ /* Function definitions. */
+ 
+ int compare_regions(ulv *bufa, ulv *bufb, size_t count) {
+--- a/types.h
++++ b/types.h
+@@ -25,12 +25,12 @@
+     int (*fp)();
+ };
+ 
+-union {
++union mword8_type {
+     unsigned char bytes[UL_LEN/8];
+     ul val;
+-} mword8;
++};
+ 
+-union {
++union mword16_type {
+     unsigned short u16s[UL_LEN/16];
+     ul val;
+-} mword16;
++};

diff --git a/sys-apps/memtester/memtester-4.3.0.ebuild b/sys-apps/memtester/memtester-4.3.0.ebuild
index 56a07613ef1..cccff64b5d4 100644
--- a/sys-apps/memtester/memtester-4.3.0.ebuild
+++ b/sys-apps/memtester/memtester-4.3.0.ebuild
@@ -1,23 +1,25 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
 inherit toolchain-funcs
 
 DESCRIPTION="userspace utility for testing the memory subsystem for faults"
 HOMEPAGE="http://pyropus.ca/software/memtester/"
-SRC_URI="http://pyropus.ca/software/memtester/${P}.tar.gz
+SRC_URI="
+	http://pyropus.ca/software/memtester/${P}.tar.gz
 	http://pyropus.ca/software/memtester/old-versions/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
 
-src_prepare() {
-	echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc
-	echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld
+PATCHES=( "${FILESDIR}"/${PN}-4.3.0-fix-gcc10-fno-common.patch )
+
+src_configure() {
+	echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc || die
+	echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld || die
 }
 
 src_install() {


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

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/memtester/files/, sys-apps/memtester/
@ 2021-05-14 10:04 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2021-05-14 10:04 UTC (permalink / raw
  To: gentoo-commits

commit:     d8a5109768562f907db5f68bb27d1b071fd9b850
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 14 10:04:03 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 14 10:04:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a51097

sys-apps/memtester: Remove old 4.3.0, 4.4.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-apps/memtester/Manifest                        |  2 --
 .../memtester-4.3.0-fix-gcc10-fno-common.patch     | 31 ----------------------
 sys-apps/memtester/memtester-4.3.0.ebuild          | 29 --------------------
 sys-apps/memtester/memtester-4.4.0.ebuild          | 27 -------------------
 4 files changed, 89 deletions(-)

diff --git a/sys-apps/memtester/Manifest b/sys-apps/memtester/Manifest
index d958b9b240b..eab5b37c4ef 100644
--- a/sys-apps/memtester/Manifest
+++ b/sys-apps/memtester/Manifest
@@ -1,3 +1 @@
-DIST memtester-4.3.0.tar.gz 22113 BLAKE2B 564cb874ea8263e23049d99417bb75f4d9f6fe1bbc022b2f2043735548c97f0060e877079087e524738bda3f9669d0ec171fb3aa9958a2904d848ace87d1cd91 SHA512 045bcc73855706ff03e8ca65297a0d6e5b5ac02f99dae0f17cef1310b403efcb78d9a7295eca6d2de703b0a7b2f71b58a37f5a42040f01fc77a321a8d2205888
-DIST memtester-4.4.0.tar.gz 22801 BLAKE2B 36d97cce30f5f149dc666dd4a743df39ad6993ec82489f4e890bacf1d05de6405da26b2fcd08a0f0416d527ddcf586c77b30b87b19ce80885e80a65ed8b9fb76 SHA512 65b9bc7e81b020cae6cbadc8f47c0bb2837e62bdea24fda72696b22a6b3aad3752d96b00defface4b7397cef58ff6133a9f5794df0a483ec2a639a428177bf75
 DIST memtester-4.5.0.tar.gz 23286 BLAKE2B 841b68026a9b4eae69490c469dbaf062500b642d9ab11e3b1052e7c850e49af3665d0fd01c49670cf297ea5e03a4916ea01bb0219910d487de87568060115e2b SHA512 17df913509df33851fbc58751df993a77bff765a9799ac2b7976518b0a659a2322c9a93a7438e9daa314035e0c08cfcee5cbc97c6be1631917c47e221f15d363

diff --git a/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch b/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch
deleted file mode 100644
index 8bb58e5771c..00000000000
--- a/sys-apps/memtester/files/memtester-4.3.0-fix-gcc10-fno-common.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/tests.c
-+++ b/tests.c
-@@ -27,6 +27,9 @@
- #define PROGRESSOFTEN 2500
- #define ONE 0x00000001L
- 
-+union mword8_type mword8;
-+union mword16_type mword16;
-+
- /* Function definitions. */
- 
- int compare_regions(ulv *bufa, ulv *bufb, size_t count) {
---- a/types.h
-+++ b/types.h
-@@ -25,12 +25,12 @@
-     int (*fp)();
- };
- 
--union {
-+union mword8_type {
-     unsigned char bytes[UL_LEN/8];
-     ul val;
--} mword8;
-+};
- 
--union {
-+union mword16_type {
-     unsigned short u16s[UL_LEN/16];
-     ul val;
--} mword16;
-+};

diff --git a/sys-apps/memtester/memtester-4.3.0.ebuild b/sys-apps/memtester/memtester-4.3.0.ebuild
deleted file mode 100644
index cccff64b5d4..00000000000
--- a/sys-apps/memtester/memtester-4.3.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="userspace utility for testing the memory subsystem for faults"
-HOMEPAGE="http://pyropus.ca/software/memtester/"
-SRC_URI="
-	http://pyropus.ca/software/memtester/${P}.tar.gz
-	http://pyropus.ca/software/memtester/old-versions/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 sparc x86"
-
-PATCHES=( "${FILESDIR}"/${PN}-4.3.0-fix-gcc10-fno-common.patch )
-
-src_configure() {
-	echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc || die
-	echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld || die
-}
-
-src_install() {
-	dosbin memtester
-	doman memtester.8
-	dodoc BUGS CHANGELOG README README.tests
-}

diff --git a/sys-apps/memtester/memtester-4.4.0.ebuild b/sys-apps/memtester/memtester-4.4.0.ebuild
deleted file mode 100644
index 4be0e82a6fe..00000000000
--- a/sys-apps/memtester/memtester-4.4.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="userspace utility for testing the memory subsystem for faults"
-HOMEPAGE="http://pyropus.ca/software/memtester/"
-SRC_URI="
-	http://pyropus.ca/software/memtester/${P}.tar.gz
-	http://pyropus.ca/software/memtester/old-versions/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-src_configure() {
-	echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc || die
-	echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld || die
-}
-
-src_install() {
-	dosbin memtester
-	doman memtester.8
-	dodoc BUGS CHANGELOG README README.tests
-}


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

end of thread, other threads:[~2021-05-14 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10  0:18 [gentoo-commits] repo/gentoo:master commit in: sys-apps/memtester/files/, sys-apps/memtester/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2021-05-14 10:04 David Seifert

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