sys-block/di: Bump to version 4.45

Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Lars Wendler
2018-04-11 11:15:32 +02:00
parent ad2b37e96e
commit 7a10b7ce90
3 changed files with 41 additions and 2 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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"