summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-26 01:28:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-26 01:28:18 +0000
commit6d783814acd45eecb64ad7cce22ede9712350581 (patch)
treecb5f71f8b3495381a550f5b893b7b0cb3ea44931 /app-portage
parentold (diff)
downloadgentoo-2-6d783814acd45eecb64ad7cce22ede9712350581.tar.gz
gentoo-2-6d783814acd45eecb64ad7cce22ede9712350581.tar.bz2
gentoo-2-6d783814acd45eecb64ad7cce22ede9712350581.zip
Fix incorrect assert test in qdepends.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog8
-rw-r--r--app-portage/portage-utils/files/digest-portage-utils-0.1.3-r11
-rw-r--r--app-portage/portage-utils/files/portage-utils-0.1.3-qdepends.patch16
-rw-r--r--app-portage/portage-utils/portage-utils-0.1.3-r1.ebuild30
4 files changed, 54 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index 7f657eb64663..c39396eaeb6f 100644
--- a/app-portage/portage-utils/ChangeLog
+++ b/app-portage/portage-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-portage/portage-utils
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.4 2005/07/25 23:39:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.5 2005/07/26 01:28:18 vapier Exp $
+
+*portage-utils-0.1.3-r1 (26 Jul 2005)
+
+ 26 Jul 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/portage-utils-0.1.3-qdepends.patch, +portage-utils-0.1.3-r1.ebuild:
+ Fix incorrect assert test in qdepends.
*portage-utils-0.1.3 (25 Jul 2005)
diff --git a/app-portage/portage-utils/files/digest-portage-utils-0.1.3-r1 b/app-portage/portage-utils/files/digest-portage-utils-0.1.3-r1
new file mode 100644
index 000000000000..d8dc5dbc274f
--- /dev/null
+++ b/app-portage/portage-utils/files/digest-portage-utils-0.1.3-r1
@@ -0,0 +1 @@
+MD5 eed3ba9148e92d1a0c8d1969c78eae55 portage-utils-0.1.3.tar.bz2 35580
diff --git a/app-portage/portage-utils/files/portage-utils-0.1.3-qdepends.patch b/app-portage/portage-utils/files/portage-utils-0.1.3-qdepends.patch
new file mode 100644
index 000000000000..945b12571d1f
--- /dev/null
+++ b/app-portage/portage-utils/files/portage-utils-0.1.3-qdepends.patch
@@ -0,0 +1,16 @@
+Index: qdepends.c
+===================================================================
+RCS file: /var/cvsroot/gentoo-projects/portage-utils/qdepends.c,v
+retrieving revision 1.5
+diff -u -p -r1.5 qdepends.c
+--- qdepends.c 20 Jun 2005 06:25:29 -0000 1.5
++++ qdepends.c 26 Jul 2005 01:25:04 -0000
+@@ -374,7 +374,7 @@ int qdepends_main(int argc, char **argv)
+
+ snprintf(buf, sizeof(buf), "%s/%s/%s/USE", portvdb,
+ dentry->d_name, de->d_name);
+- assert(eat_file(buf, use, sizeof(use)) == 0);
++ assert(eat_file(buf, use, sizeof(use)) == 1);
+ for (ptr = use; *ptr; ++ptr)
+ if (*ptr == '\n' || *ptr == '\t')
+ *ptr = ' ';
diff --git a/app-portage/portage-utils/portage-utils-0.1.3-r1.ebuild b/app-portage/portage-utils/portage-utils-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..b9333b1389ab
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.1.3-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.1.3-r1.ebuild,v 1.1 2005/07/26 01:28:18 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="small and fast portage helper tools written in C"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-qdepends.patch
+}
+
+src_install() {
+ dobin q || die "dobin failed"
+ doman man/*
+ for applet in $(<applet-list) ; do
+ dosym q /usr/bin/${applet}
+ done
+}