diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-02-19 16:58:43 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-02-19 16:58:43 +0000 |
commit | c4f83a3bf88b0d4594f2a1c1d1242bf958e9e65d (patch) | |
tree | e28767a618fb7b5964555726afce312c1a8b1ee8 /sys-fs | |
parent | Fixed compilation against linux 2.6.38 (bug #355401) (diff) | |
download | gentoo-2-c4f83a3bf88b0d4594f2a1c1d1242bf958e9e65d.tar.gz gentoo-2-c4f83a3bf88b0d4594f2a1c1d1242bf958e9e65d.tar.bz2 gentoo-2-c4f83a3bf88b0d4594f2a1c1d1242bf958e9e65d.zip |
Fixed "directory seems to be empty" (bug #350114)
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/gt5/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch | 11 | ||||
-rw-r--r-- | sys-fs/gt5/gt5-1.4.0-r2.ebuild | 32 |
3 files changed, 51 insertions, 2 deletions
diff --git a/sys-fs/gt5/ChangeLog b/sys-fs/gt5/ChangeLog index 6a2e942ff991..aeacd961e78f 100644 --- a/sys-fs/gt5/ChangeLog +++ b/sys-fs/gt5/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/gt5 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/ChangeLog,v 1.8 2008/06/13 09:24:44 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/ChangeLog,v 1.9 2011/02/19 16:58:43 angelos Exp $ + +*gt5-1.4.0-r2 (19 Feb 2011) + + 19 Feb 2011; <angelos@gentoo.org> +gt5-1.4.0-r2.ebuild, + +files/gt5-1.4.0-empty-dirs.patch: + Fixed "directory seems to be empty" (bug #350114) 13 Jun 2008; Raúl Porcel <armin76@gentoo.org> gt5-1.4.0-r1.ebuild: x86 stable wrt #225353 diff --git a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch new file mode 100644 index 000000000000..4aab4d0ab840 --- /dev/null +++ b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch @@ -0,0 +1,11 @@ +--- /usr/bin/gt5.old 2011-01-10 23:01:29.778000092 +0100 ++++ /usr/bin/gt5 2011-01-10 23:01:16.577000089 +0100 +@@ -261,7 +261,7 @@ + + #can du handle depths? + DEPTH="$(du --help 2>&1 | "$AWK" ' +- /depth/{sub(/^[^-]*/,""); sub(/[N ].*/,""); print; exit} ++ /depth/{sub(/^[^-]*/,""); sub(/,[N ].*/,""); print; exit} + ')$((MAX_DEPTH+1))" + + { diff --git a/sys-fs/gt5/gt5-1.4.0-r2.ebuild b/sys-fs/gt5/gt5-1.4.0-r2.ebuild new file mode 100644 index 000000000000..44c6d57da5e1 --- /dev/null +++ b/sys-fs/gt5/gt5-1.4.0-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/gt5-1.4.0-r2.ebuild,v 1.1 2011/02/19 16:58:42 angelos Exp $ + +inherit eutils + +DESCRIPTION="a diff-capable 'du-browser'" +HOMEPAGE="http://gt5.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +RDEPEND="|| ( www-client/links + www-client/elinks + www-client/lynx )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-bash-shabang.patch" \ + "${FILESDIR}/${P}-empty-dirs.patch" +} + +src_install() { + dobin gt5 + doman gt5.1 + dodoc Changelog README +} |