summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-22 05:02:58 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-22 05:02:58 +0000
commitf62b26f7ca8ec6cb9e2f65ae0bec5a1c8a728638 (patch)
treebd7925a2f4cf8d3ccff55d7072af8fb57a90331d /dev-util/cgdb
parentKeyword ~amd64-linux/~x86-linux (diff)
downloadgentoo-2-f62b26f7ca8ec6cb9e2f65ae0bec5a1c8a728638.tar.gz
gentoo-2-f62b26f7ca8ec6cb9e2f65ae0bec5a1c8a728638.tar.bz2
gentoo-2-f62b26f7ca8ec6cb9e2f65ae0bec5a1c8a728638.zip
Fix implicit malloc decl on 64bit systems.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cgdb')
-rw-r--r--dev-util/cgdb/ChangeLog5
-rw-r--r--dev-util/cgdb/cgdb-0.6.5.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-util/cgdb/ChangeLog b/dev-util/cgdb/ChangeLog
index 6f704a455441..46c8c2307719 100644
--- a/dev-util/cgdb/ChangeLog
+++ b/dev-util/cgdb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/cgdb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.40 2010/01/13 21:55:42 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.41 2010/01/22 05:02:58 vapier Exp $
+
+ 22 Jan 2010; Mike Frysinger <vapier@gentoo.org> cgdb-0.6.5.ebuild:
+ Fix implicit malloc decl on 64bit systems.
*cgdb-0.6.5 (13 Jan 2010)
diff --git a/dev-util/cgdb/cgdb-0.6.5.ebuild b/dev-util/cgdb/cgdb-0.6.5.ebuild
index cc5daa21a312..fc3e634c39a0 100644
--- a/dev-util/cgdb/cgdb-0.6.5.ebuild
+++ b/dev-util/cgdb/cgdb-0.6.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.6.5.ebuild,v 1.1 2010/01/13 21:55:42 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.6.5.ebuild,v 1.2 2010/01/22 05:02:58 vapier Exp $
-inherit eutils
+EAPI="2"
DESCRIPTION="A curses front-end for GDB, the GNU debugger"
HOMEPAGE="http://cgdb.sourceforge.net/"
@@ -18,6 +18,10 @@ DEPEND=">=sys-libs/ncurses-5.3-r1
RDEPEND="${DEPEND}
>=sys-devel/gdb-5.3"
+src_prepare() {
+ sed -i 's:cgdb_malloc:malloc:' various/rline/src/rline.c || die
+}
+
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README