[gentoo-commits] repo/gentoo:master commit in: sys-boot/dvhtool/

2022-09-21 Thread Sam James
commit: 34d751ba89e925d8b0104cec3112c48e7924a978
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 04:04:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 04:05:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d751ba

sys-boot/dvhtool: use PV in SRC_URI

Avoids mistakes on bumping and why not?

Signed-off-by: Sam James  gentoo.org>

 sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild 
b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
index 6e23f2cb51d4..ba84fd2db50a 100644
--- a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
+++ b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
@@ -7,7 +7,7 @@ inherit autotools toolchain-funcs
 
 DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based 
workstations"
 HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool;
-SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_1.0.1.orig.tar.gz"
+SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_${PV}.orig.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-boot/dvhtool/, sys-boot/arcload/

2022-09-08 Thread Matt Turner
commit: ca92834b58894a79a63a974f81c89502157e027e
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Sep  8 18:37:52 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Sep  8 18:51:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca92834b

*/*: Rename 'Gentoo/MIPS Port' to 'Linux MIPS Development' to conform

Signed-off-by: Matt Turner  gentoo.org>

 sys-boot/arcload/metadata.xml | 2 +-
 sys-boot/dvhtool/metadata.xml | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-boot/arcload/metadata.xml b/sys-boot/arcload/metadata.xml
index 1d8148343664..ab5e64aa52f5 100644
--- a/sys-boot/arcload/metadata.xml
+++ b/sys-boot/arcload/metadata.xml
@@ -3,6 +3,6 @@
 

m...@gentoo.org
-   Gentoo/MIPS Port
+   Linux MIPS Development

 

diff --git a/sys-boot/dvhtool/metadata.xml b/sys-boot/dvhtool/metadata.xml
index 060cff04b36d..ab5e64aa52f5 100644
--- a/sys-boot/dvhtool/metadata.xml
+++ b/sys-boot/dvhtool/metadata.xml
@@ -1,8 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   m...@gentoo.org
-   Gentoo/MIPS Port
-
+   
+   m...@gentoo.org
+   Linux MIPS Development
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-boot/dvhtool/

2022-03-25 Thread Sam James
commit: fdce1b33fa080e337513aad7560775bd1cd6619e
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 25 23:53:21 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 26 00:00:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdce1b33

sys-boot/dvhtool: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild 
b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
index 01c70dd3d890..6e23f2cb51d4 100644
--- a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
+++ b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,11 +37,11 @@ src_prepare() {
 }
 
 src_configure() {
-   CC=$(tc-getCC) LD=$(tc-getLD) \
+   CC="$(tc-getCC)" LD="$(tc-getLD)" \
econf
 }
 
 src_compile() {
-   CC=$(tc-getCC) LD=$(tc-getLD) \
+   CC="$(tc-getCC)" LD="$(tc-getLD)" \
emake
 }



[gentoo-commits] repo/gentoo:master commit in: sys-boot/dvhtool/

2020-09-17 Thread Aaron Bauman
commit: c6dbc4964c08640dd3de343748cd8cc4145cb0d0
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Sep 17 22:46:40 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Sep 17 23:03:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6dbc496

sys-boot/dvhtool: port to EAPI=7

* Fix other various QA issues

Closes: https://bugs.gentoo.org/742125
Signed-off-by: Aaron Bauman  gentoo.org>

 sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 26 +++---
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild 
b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
index 784aecf4b35..01c70dd3d89 100644
--- a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
+++ b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
@@ -1,9 +1,9 @@
-# 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 autotools eutils toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based 
workstations"
 HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool;
@@ -12,23 +12,27 @@ 
SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_1.0.1.orig.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~mips ~x86"
+
 IUSE=""
 DEPEND=""
 RDEPEND=""
 
 S="${S}.orig"
 
-src_prepare() {
-   # several applicable hunks from a debian patch
-   epatch "${FILESDIR}"/${P}-debian.diff
+PATCHES=(
+   "${FILESDIR}/${P}-debian.diff"
+   "${FILESDIR}/${P}-debian-warn_type_guess.diff"
+   "${FILESDIR}/${P}-debian-xopen_source.diff"
+   "${FILESDIR}/${P}-add-raid-lvm-parttypes.patch"
+)
 
-   # Newer minor patches from Debian
-   epatch "${FILESDIR}"/${P}-debian-warn_type_guess.diff
-   epatch "${FILESDIR}"/${P}-debian-xopen_source.diff
+src_prepare() {
+   default
 
-   # Allow dvhtool to recognize Linux RAID and Linux LVM partitions
-   epatch "${FILESDIR}"/${P}-add-raid-lvm-parttypes.patch
+   # Fix automake warning
+   mv configure.{in,ac} || die
 
+   eapply_user
eautoreconf
 }