From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26FE51382C5 for ; Wed, 11 Apr 2018 09:15:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16DDBE0AC8; Wed, 11 Apr 2018 09:15:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFC5BE0AC8 for ; Wed, 11 Apr 2018 09:15:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 305F1335C09 for ; Wed, 11 Apr 2018 09:15:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68990274 for ; Wed, 11 Apr 2018 09:15:40 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1523438132.7a10b7ce90aab475bd9b09dce24c25d40d148a32.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/di/files/, sys-block/di/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/di/Manifest sys-block/di/di-4.45.ebuild sys-block/di/files/di-4.33-build.patch X-VCS-Directories: sys-block/di/files/ sys-block/di/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 7a10b7ce90aab475bd9b09dce24c25d40d148a32 X-VCS-Branch: master Date: Wed, 11 Apr 2018 09:15:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 56732392-7011-429c-b18a-0e55fcf0ba6e X-Archives-Hash: 91bf5fa7aeb19dbabe648af011ec41f9 commit: 7a10b7ce90aab475bd9b09dce24c25d40d148a32 Author: Lars Wendler gentoo org> AuthorDate: Wed Apr 11 09:15:32 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Apr 11 09:15:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a10b7ce sys-block/di: Bump to version 4.45 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-block/di/Manifest | 1 + sys-block/di/di-4.45.ebuild | 38 ++++++++++++++++++++++++++++++++++ sys-block/di/files/di-4.33-build.patch | 4 ++-- 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest index 9e8b34ce529..61992986a17 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 00000000000..c910d5e247d --- /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 adefb499388..1a9048fb4cf 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"