summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-18 07:32:22 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-18 07:32:22 +0000
commit81694d5d1302e05c79b312b0b24938fd5409c330 (patch)
treeaacf77c21be92d59ee19b950942303beddbc18bf /dev-util
parentold (diff)
downloadgentoo-2-81694d5d1302e05c79b312b0b24938fd5409c330.tar.gz
gentoo-2-81694d5d1302e05c79b312b0b24938fd5409c330.tar.bz2
gentoo-2-81694d5d1302e05c79b312b0b24938fd5409c330.zip
Version bump #180438.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cgdb/ChangeLog9
-rw-r--r--dev-util/cgdb/cgdb-0.6.4.ebuild31
-rw-r--r--dev-util/cgdb/files/cgdb-0.6.4-64bit.patch29
-rw-r--r--dev-util/cgdb/files/cgdb-0.6.4-headers.patch29
4 files changed, 97 insertions, 1 deletions
diff --git a/dev-util/cgdb/ChangeLog b/dev-util/cgdb/ChangeLog
index 944bf4b29bef..77f41e81a3cf 100644
--- a/dev-util/cgdb/ChangeLog
+++ b/dev-util/cgdb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/cgdb
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.32 2008/09/18 07:30:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.33 2008/09/18 07:32:21 vapier Exp $
+
+*cgdb-0.6.4 (18 Sep 2008)
+
+ 18 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/cgdb-0.6.4-64bit.patch, +files/cgdb-0.6.4-headers.patch,
+ +cgdb-0.6.4.ebuild:
+ Version bump #180438.
18 Sep 2008; Mike Frysinger <vapier@gentoo.org> cgdb-0.6.3.ebuild:
Fix autotools error #206230.
diff --git a/dev-util/cgdb/cgdb-0.6.4.ebuild b/dev-util/cgdb/cgdb-0.6.4.ebuild
new file mode 100644
index 000000000000..d1c20f224d54
--- /dev/null
+++ b/dev-util/cgdb/cgdb-0.6.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.6.4.ebuild,v 1.1 2008/09/18 07:32:21 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="A curses front-end for GDB, the GNU debugger"
+HOMEPAGE="http://cgdb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cgdb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5.3-r1
+ >=sys-libs/readline-5.1-r2"
+RDEPEND="${DEPEND}
+ >=sys-devel/gdb-5.3"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-64bit.patch
+ epatch "${FILESDIR}"/${P}-headers.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/dev-util/cgdb/files/cgdb-0.6.4-64bit.patch b/dev-util/cgdb/files/cgdb-0.6.4-64bit.patch
new file mode 100644
index 000000000000..1115c9d3ff0a
--- /dev/null
+++ b/dev-util/cgdb/files/cgdb-0.6.4-64bit.patch
@@ -0,0 +1,29 @@
+------------------------------------------------------------------------
+r878 | bobbybrasko | 2007-05-04 16:59:50 -0400 (Fri, 04 May 2007) | 12 lines
+
+Reported bug fix.
+
+Our automated buildd log filter[1] detected a problem that will cause
+your package to segfault on architectures where the size of a pointer
+is greater than the size of an integer, such as ia64 and amd64.
+
+This is often due to a missing function prototype definition.
+
+[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
+
+Function `cgdb_malloc' implicitly converted to pointer at kui_driver.c:122
+
+------------------------------------------------------------------------
+
+Index: cgdb/lib/kui/src/kui_driver.c
+===================================================================
+--- cgdb/lib/kui/src/kui_driver.c (revision 877)
++++ cgdb/lib/kui/src/kui_driver.c (revision 878)
+@@ -51,6 +51,7 @@
+ #include <getopt.h>
+ #endif
+
++#include <sys_util.h>
+ #include "kui.h"
+ #include "kui_term.h"
+
diff --git a/dev-util/cgdb/files/cgdb-0.6.4-headers.patch b/dev-util/cgdb/files/cgdb-0.6.4-headers.patch
new file mode 100644
index 000000000000..fbdc82052b1f
--- /dev/null
+++ b/dev-util/cgdb/files/cgdb-0.6.4-headers.patch
@@ -0,0 +1,29 @@
+--- cgdb/src/cgdbrc.c
++++ cgdb/src/cgdbrc.c
+@@ -24,6 +24,7 @@
+ #include "cgdb.h"
+ #include "sys_util.h"
+ #include "std_list.h"
++#include "kui.h"
+
+ extern struct tgdb *tgdb;
+
+@@ -570,7 +571,7 @@ command_parse_map (void)
+ value = yylex ();
+ if (value != IDENTIFIER)
+ {
+- xfree (key_token);
++ free (key_token);
+ return -1;
+ }
+
+--- various/util/src/fork_util.c
++++ various/util/src/fork_util.c
+@@ -39,6 +39,7 @@
+ #include "fs_util.h"
+ #include "pseudo.h"
+ #include "logger.h"
++#include "terminal.h"
+
+ struct pty_pair {
+ int masterfd;