summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-04-11 11:15:32 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-11 11:15:32 +0200
commit7a10b7ce90aab475bd9b09dce24c25d40d148a32 (patch)
tree44f9315f72d6ef18ac27fd0ebdbc38a25bcb91cf /sys-block
parentapp-misc/ca-certificates: Bump to version 20170717.3.36.1 (diff)
downloadgentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.tar.gz
gentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.tar.bz2
gentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.zip
sys-block/di: Bump to version 4.45
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/di/Manifest1
-rw-r--r--sys-block/di/di-4.45.ebuild38
-rw-r--r--sys-block/di/files/di-4.33-build.patch4
3 files changed, 41 insertions, 2 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index 9e8b34ce5294..61992986a175 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1,2 +1,3 @@
DIST di-4.43.tar.gz 267160 BLAKE2B c8e56e07d82df21eb839e97ee1d20ca76530ad3485888523faffdf0ad79941b35da41fde83645b58a747c1b40882fe68838255d081bc5fa32d9a3dd4846b43a8 SHA512 5b84c2ebf6fa22f6c7fee5872cc81a76e897cadbdaf8ce1b1b8dac0d53d5460127c8144f94fad204bdc522117cd1fcbac2905a065057d83b8aed0d69a5b95f9a
DIST di-4.44.tar.gz 267509 BLAKE2B 0dd84906a1e710db9868c15cbc3334976469206d44d302a4ec31bad05cbc43643acd1076f0c12a22c9d642e21c6a9a03d6359db62902da5814bba73a346fae3d SHA512 e4d04def74ee1d9349daa8f01519243833135d63220678b3841505ba2d4667d1d5ec81a09e891bf1abb5e0016fc9cb6e674292665d0d29af7371160ff6eced5c
+DIST di-4.45.tar.gz 213282 BLAKE2B aafeed268940a9680e21cdbf6b3b21c7636d6638f35347be8389af7654fa993839c85845468ba7cb44bacc63a71efe9db36dcf9bea8fb4ef03a91f04d93c13c3 SHA512 f66fbc69f984b3a3bebbec935f583fb1ad84e33265ebb2734486f784459604071d9ec1639fa0edec5a4b48397f465656d40570f42d10fa0ef50dea17ed9cdd75
diff --git a/sys-block/di/di-4.45.ebuild b/sys-block/di/di-4.45.ebuild
new file mode 100644
index 000000000000..c910d5e247d3
--- /dev/null
+++ b/sys-block/di/di-4.45.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Disk Information Utility"
+HOMEPAGE="http://www.gentoo.com/di/"
+SRC_URI="http://www.gentoo.com/di/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="nls"
+
+RESTRICT="test" #405205, #405471
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.33-build.patch
+)
+
+src_configure() {
+ emake checkbuild
+ emake -C C config.h
+}
+
+src_compile() {
+ emake prefix=/usr CC="$(tc-getCC)" NLS=$(usex nls T F)
+}
+
+src_install() {
+ emake install prefix="${D}/usr"
+ # default symlink is broken
+ dosym di /usr/bin/mi
+ dodoc README
+}
diff --git a/sys-block/di/files/di-4.33-build.patch b/sys-block/di/files/di-4.33-build.patch
index adefb4993885..1a9048fb4cf3 100644
--- a/sys-block/di/files/di-4.33-build.patch
+++ b/sys-block/di/files/di-4.33-build.patch
@@ -9,8 +9,8 @@ Then there is a lot more errors after above.
memcpy can't be detected normally due to:
http://gcc.gnu.org/PR55890
---- C/di.h
-+++ C/di.h
+--- a/C/di.h
++++ b/C/di.h
@@ -9,6 +9,8 @@
#include "config.h"