summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/di/ChangeLog8
-rw-r--r--sys-block/di/Manifest29
-rw-r--r--sys-block/di/di-4.32.ebuild34
-rw-r--r--sys-block/di/files/di-4.32-build.patch37
4 files changed, 94 insertions, 14 deletions
diff --git a/sys-block/di/ChangeLog b/sys-block/di/ChangeLog
index 4542db224f64..8e26fd8a8e3d 100644
--- a/sys-block/di/ChangeLog
+++ b/sys-block/di/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/di
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/di/ChangeLog,v 1.40 2012/05/24 00:07:16 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/di/ChangeLog,v 1.41 2012/10/24 07:01:52 ssuominen Exp $
+
+*di-4.32 (24 Oct 2012)
+
+ 24 Oct 2012; Samuli Suominen <ssuominen@gentoo.org> +di-4.32.ebuild,
+ +files/di-4.32-build.patch:
+ Version bump.
24 May 2012; Samuli Suominen <ssuominen@gentoo.org> -di-4.18.ebuild:
old
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index d506fd2f0cb9..9dfe332e2de9 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1,19 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX di-4.31-mkdir.patch 460 RMD160 400d4d8bdb93a2efd887cef9e29d4e9f600808a1 SHA1 560e8e11507996ccb78d0a4890897ed6b4203ab8 SHA256 ff6d1f0d0e13a2c7e8931865965f282478b05cdafd80b61d993e366c2bf03fec
-DIST di-4.31.tar.gz 184703 RMD160 db881be1a1743ea073e424e1c1cbee5530cf1dc8 SHA1 2a7212e03286b68ebb4783ae8937999145165c79 SHA256 148c263a1058f6643bd7e347d8f34e59caa9fcb71d1938f1344b077784f7f8fb
-EBUILD di-4.31.ebuild 677 RMD160 8d980541f0aa8c8bc45634d804c11dff26cd2c53 SHA1 f33416a07061044fdc30dcd0bde8af1a19fac90e SHA256 f5f280a11170f8577ac69050208b5aab0b70de9bf0a86be096dddfb145d0abf9
-MISC ChangeLog 5751 RMD160 fa8232686eb334144fee20a08cfc8836c57dc237 SHA1 af4afdfb94719a187232e723ff817a66643b02c6 SHA256 47c58d89b80e05f261eb4b403c747b4c7dde776e3675980291b985204d1068a1
-MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+AUX di-4.31-mkdir.patch 460 SHA256 ff6d1f0d0e13a2c7e8931865965f282478b05cdafd80b61d993e366c2bf03fec SHA512 a67ff41d9806877c3f5b0f998acf0c2ad262216764049df5a0a88226b4ff0f4fc63bd200ac533b27207cb15eadbd8002a52c6016083bce8d3feffbd4f7be7971 WHIRLPOOL 1b8f9c906e341029320bf0518cf532cff309bacebea25f4a5943033fd33f5296fa87040b456a6e020f6df8d2820e68fbaa231a83f0b84fb23004cdac72ca74b6
+AUX di-4.32-build.patch 928 SHA256 fb785d084415b751db3b9ec0f359edf86d10768073ea653d98f05944bf42a0c4 SHA512 680c523747939aa405c2969087c735dfc39caa43491c00893b0f24db172f63384c004a7b69cdfd4d1ccbaee125b26a6b603ce0bc64173f1899ea52f2ff754fc8 WHIRLPOOL 4608e9c21cfc1f7be1868bfc15cba5cfa71722036bdd79ce9e85f5755489f87eba342bd8261a021ebebed710a34e1e8fe4b9fc19491acbd4f824fe2a2327bbe2
+DIST di-4.31.tar.gz 184703 SHA256 148c263a1058f6643bd7e347d8f34e59caa9fcb71d1938f1344b077784f7f8fb SHA512 1386660eb74fb42d02890f0071c449d4308e9c1601b7c9f0a29e5f70bfa675259bba160311e9bae636f927be940dced3c5af81d88ba3e3ff29fdbb00384b70ca WHIRLPOOL 7a9c533d526e7f7a88f737201e3b6bc8df82752a72b525b85bd66210be9ecdc91d015398fc8f6d1b3e8f229c33cadba09fa5c96a7268015884d1a7c660e28991
+DIST di-4.32.tar.gz 212774 SHA256 b6483327484b9bd5a63eb7d3c51bdfa9f5614c06a1fc37b3b05ad710821a0dc8 SHA512 ecd48c241dead0c0e7b5f37759b6103b046226abb3b922e691c24ee60dc3988ffd79e69d5e910dca8ced6fc3193421519d18e8f10767f00b93d8e9e0060f7402 WHIRLPOOL 0a41837eae28778be91711fb79cec9c1415f0de4efda258c780526b429ee0c888a5c7d258448d9481bd4cdb9bfd7ef01f2bfdac6d67b6eaddb75ef43a2c74900
+EBUILD di-4.31.ebuild 677 SHA256 f5f280a11170f8577ac69050208b5aab0b70de9bf0a86be096dddfb145d0abf9 SHA512 60ac198e1eb9c4d68d2cc266b2a5c9b8af27810b530271417d6aecd56f5540b9658ad9acb7042c4763532e61103082171d83ff8e1ad0433a1b704c9500bb30fa WHIRLPOOL 6f2a04b97f089a129d4c696c1d94e2334ec20c6b56868309714e16ddab99e9c89838b63f5b607877a0430afeff0d057ad639f5e9d501965c5c1d69dbd38c888e
+EBUILD di-4.32.ebuild 768 SHA256 265cbbba2d088737602b0d76800fa22c449a49646ac578457e6d8738792da540 SHA512 991b2e07d5b48bb4fcde3210d97d736e043d84855aca9085cc37d43120fa88deba0f8cbe337e8e90faf066ee29d55e945f60616d7c6e347cf0815cea1263c32d WHIRLPOOL 6ad2bd4df167ea66fe10f3b8e07b6dbdefa4548c4c94410a1b7e8b26570322d952b7ada1428657d10c98485d317c48f23db9f76f04b1ed822b3e646b4c07a2b4
+MISC ChangeLog 5893 SHA256 993b576e2b88ce6672b19807bd20d1df610ee62cb6bacdbc59cc45bb65ba3d8e SHA512 6894ef871e0b3905811c24cbe7e8f365cc1a22602b00b7ab6d985d5c9a976e5908e6d4f358fe157bcc039793b29d8d4b59bf9ff8c2a22d1056fc4ea48d493880 WHIRLPOOL 1542fae8d86f8fe446850ebce252ca71a25bd08fc39159f2a794efec880fa4a7bee10a1a0e84c5a8950261729ce8900c6535d7ddb15d32ef089906294df68e0c
+MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJPvXrzAAoJEEdUh39IaPFNjt4H/3zKDXeIS9/DkrQ5vjKr0gRK
-l0J2oIODLVs70Pr9GRW3+TZyotlUqyrYuIG65LsYmeMNyQMC5tiNXtN1rlFQSf38
-LUNvhFBgfyqetkzje9tJIItzzdSzh2D8OG2bzomzJm2+BMucjxjHf7IS0G/3WAeo
-bVcvjcV8bvClrgtqeM98ODmySs+oVx/aaXX0pv6uu53IClm2xkQ4bZkbn8bjDTOW
-ayIDvAixcVWZjpKBThHVHnZ6fQqmyy6pwLTobdCS5OvYT34B1zp8htA69n4l5Akv
-Jkkc5ke1aOer399Ps1SqCb0+96oPsjW6nzaIcqByFAnZfg+PXHzk49ItjyrmZDE=
-=a/k3
+iQEcBAEBCAAGBQJQh5FqAAoJEEdUh39IaPFNhIAH/3SC+YU79dVMLiG7dxrSnm4g
+B46fuiy4maxzpo8f9cPMk9to43qV6uP2VcX5WDbJEHHFy+u+dOAugxXeflW2PuWr
+vHFUdDYIfUGKjYvNXSqUTzGgGTU532Csb9TEhiLXBVkvgl8aPEkdtxeKCPWIiRnf
+A4LPAEpLijwXOAK+XdfYoggRxyCoBnPgRzrWvHZscz7z2BwW0y1d9UnFovdPGbwe
+tVWjVP6ZdDbzc3mOOu+ECbi0xyAxz5ForcAS1lNY0Mxg/fCUJ8jQJxD28K3L5bg6
+A/z590OoydgjD9G3AZdjGCwmwQw4hODnO6ezMHtEUI+XCFlC7npCG9empi79kW0=
+=8Buq
-----END PGP SIGNATURE-----
diff --git a/sys-block/di/di-4.32.ebuild b/sys-block/di/di-4.32.ebuild
new file mode 100644
index 000000000000..9f0678da0f4d
--- /dev/null
+++ b/sys-block/di/di-4.32.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/di/di-4.32.ebuild,v 1.1 2012/10/24 07:01:52 ssuominen Exp $
+
+EAPI=4
+inherit eutils 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=""
+
+RESTRICT="test" #405205, #405471
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-4.31-mkdir.patch \
+ "${FILESDIR}"/${PN}-4.32-build.patch
+}
+
+src_compile() {
+ emake prefix=/usr CC="$(tc-getCC)"
+}
+
+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.32-build.patch b/sys-block/di/files/di-4.32-build.patch
new file mode 100644
index 000000000000..501cdfbe26fc
--- /dev/null
+++ b/sys-block/di/files/di-4.32-build.patch
@@ -0,0 +1,37 @@
+These are the first errors occuring:
+
+di.h:82:4: error: unknown type name ‘error’
+di.h:82:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token
+di.h:143:5: error: unknown type name ‘_fs_size_t’
+
+Then there is a lot more errors after above.
+
+--- C/di.h
++++ C/di.h
+@@ -9,6 +9,8 @@
+
+ #include "config.h"
+
++#include <string.h>
++
+ /*****************************************************/
+
+ #include <stdio.h>
+@@ -79,7 +81,7 @@
+
+ #if ! _lib_memcpy && ! defined (memcpy)
+ # if ! _lib_bcopy
+- error No_memcpy/bcopy_available.
++ //error No_memcpy/bcopy_available.
+ # else
+ # define memcpy(dst, src, cnt) (bcopy((src), (dst), (cnt)), dst)
+ # endif
+@@ -87,7 +89,7 @@
+
+ #if ! _lib_memset && ! defined (memset)
+ # if ! _lib_bzero
+- error No_memset/bzero_available.
++ //error No_memset/bzero_available.
+ # else
+ # define memset(s,c,n) (bzero ((s), (n)), s)
+ # endif