summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-05-28 19:24:20 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-05-28 19:24:20 +0000
commitdc9bae03f85fac049e77f1b6f4b55916695a6636 (patch)
tree4eaa2fc898e802984aadfda0096b810842b08aad /dev-util/cgdb
parentRemove old versions. (diff)
downloadgentoo-2-dc9bae03f85fac049e77f1b6f4b55916695a6636.tar.gz
gentoo-2-dc9bae03f85fac049e77f1b6f4b55916695a6636.tar.bz2
gentoo-2-dc9bae03f85fac049e77f1b6f4b55916695a6636.zip
updated with Flameeyes patches, removed outdated versions, added new version
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'dev-util/cgdb')
-rw-r--r--dev-util/cgdb/ChangeLog13
-rw-r--r--dev-util/cgdb/cgdb-0.5.3.ebuild16
-rw-r--r--dev-util/cgdb/cgdb-0.6.2.ebuild40
-rw-r--r--dev-util/cgdb/files/cgdb-0.6.2-parallel-make.patch59
-rw-r--r--dev-util/cgdb/files/cgdb-fbsd.patch21
-rw-r--r--dev-util/cgdb/files/digest-cgdb-0.5.32
-rw-r--r--dev-util/cgdb/files/digest-cgdb-0.6.23
7 files changed, 149 insertions, 5 deletions
diff --git a/dev-util/cgdb/ChangeLog b/dev-util/cgdb/ChangeLog
index 92870a0f5f6d..de7a8827044d 100644
--- a/dev-util/cgdb/ChangeLog
+++ b/dev-util/cgdb/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-util/cgdb
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.21 2005/09/03 21:44:50 hansmi Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/ChangeLog,v 1.22 2006/05/28 19:24:20 nerdboy Exp $
+
+*cgdb-0.6.2 (28 May 2006)
+
+ 28 May 2006; Steve Arnold <nerdboy@gentoo.org>
+ +files/cgdb-0.6.2-parallel-make.patch, +files/cgdb-fbsd.patch,
+ -cgdb-0.5.1.ebuild, -cgdb-0.5.2.ebuild, cgdb-0.5.3.ebuild,
+ +cgdb-0.6.2.ebuild:
+ Updated with Flameeyes patches, removed outdated versions, added new version
+ (closes bug #130920), keyworded for ~x86-fbsd.
03 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> cgdb-0.5.3.ebuild:
Stable on ppc.
diff --git a/dev-util/cgdb/cgdb-0.5.3.ebuild b/dev-util/cgdb/cgdb-0.5.3.ebuild
index 6d2b98ad7d7d..672ecb7c373e 100644
--- a/dev-util/cgdb/cgdb-0.5.3.ebuild
+++ b/dev-util/cgdb/cgdb-0.5.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.5.3.ebuild,v 1.3 2005/09/03 21:44:50 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.5.3.ebuild,v 1.4 2006/05/28 19:24:20 nerdboy Exp $
+
+inherit eutils autotools
DESCRIPTION="curses interface to the GNU debugger"
HOMEPAGE="http://cgdb.sourceforge.net/"
@@ -8,13 +10,21 @@ SRC_URI="mirror://sourceforge/cgdb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE=""
DEPEND=">=sys-libs/ncurses-5.3-r1"
RDEPEND="${DEPEND}
>=sys-devel/gdb-5.3"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-fbsd.patch"
+ AT_M4DIR="config" eautomake
+}
+
src_compile() {
econf || die "econf failed"
emake -j1 || die "emake failed"
diff --git a/dev-util/cgdb/cgdb-0.6.2.ebuild b/dev-util/cgdb/cgdb-0.6.2.ebuild
new file mode 100644
index 000000000000..204ff21268a3
--- /dev/null
+++ b/dev-util/cgdb/cgdb-0.6.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.6.2.ebuild,v 1.1 2006/05/28 19:24:20 nerdboy Exp $
+
+inherit eutils autotools
+
+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 ~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}/${PN}-fbsd.patch"
+ epatch "${FILESDIR}/${P}-parallel-make.patch"
+
+ AT_M4DIR="config" eautomake
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/dev-util/cgdb/files/cgdb-0.6.2-parallel-make.patch b/dev-util/cgdb/files/cgdb-0.6.2-parallel-make.patch
new file mode 100644
index 000000000000..55b90d35e114
--- /dev/null
+++ b/dev-util/cgdb/files/cgdb-0.6.2-parallel-make.patch
@@ -0,0 +1,59 @@
+Index: cgdb-0.6.2/various/adt/src/Makefile.am
+===================================================================
+--- cgdb-0.6.2.orig/various/adt/src/Makefile.am
++++ cgdb-0.6.2/various/adt/src/Makefile.am
+@@ -17,28 +17,28 @@ noinst_PROGRAMS = std_hash_driver std_li
+
+ # This is the hash table driver
+ std_hash_driver_LDFLAGS = -L.
+-std_hash_driver_LDADD = -ladt
++std_hash_driver_LDADD = libadt.a
+ std_hash_driver_SOURCES = std_hash_driver.c
+-std_hash_driver_DEPENDENCIES = $(top_builddir)/various/adt/src
++std_hash_driver_DEPENDENCIES = libadt.a
+ std_hash_driver_CFLAGS = $(AM_CFLAGS)
+
+ # This is the linked list driver
+ std_list_driver_LDFLAGS = -L.
+-std_list_driver_LDADD = -ladt
++std_list_driver_LDADD = libadt.a
+ std_list_driver_SOURCES = std_list_driver.c
+-std_list_driver_DEPENDENCIES = $(top_builddir)/various/adt/src
++std_list_driver_DEPENDENCIES = libadt.a
+ std_list_driver_CFLAGS = $(AM_CFLAGS)
+
+ # This is the binary tree driver
+ std_btree_driver_LDFLAGS = -L.
+-std_btree_driver_LDADD = -ladt
++std_btree_driver_LDADD = libadt.a
+ std_btree_driver_SOURCES = std_btree_driver.c
+-std_btree_driver_DEPENDENCIES = $(top_builddir)/various/adt/src
++std_btree_driver_DEPENDENCIES = libadt.a
+ std_btree_driver_CFLAGS = $(AM_CFLAGS)
+
+ # This is the balanced binary tree driver
+ std_bbtree_driver_LDFLAGS = -L.
+-std_bbtree_driver_LDADD = -ladt
++std_bbtree_driver_LDADD = libadt.a
+ std_bbtree_driver_SOURCES = std_bbtree_driver.c
+-std_bbtree_driver_DEPENDENCIES = $(top_builddir)/various/adt/src
++std_bbtree_driver_DEPENDENCIES = libadt.a
+ std_bbtree_driver_CFLAGS = $(AM_CFLAGS)
+Index: cgdb-0.6.2/tgdb/tgdb-base/src/Makefile.am
+===================================================================
+--- cgdb-0.6.2.orig/tgdb/tgdb-base/src/Makefile.am
++++ cgdb-0.6.2/tgdb/tgdb-base/src/Makefile.am
+@@ -25,11 +25,12 @@ tgdb_driver_LDFLAGS = \
+ -L$(top_builddir)/various/util/src \
+ -L$(top_builddir)/various/rline/src
+
+-tgdb_driver_LDADD = -ltgdb -lannotate_two -lgdbmi -lrline -ladt -lutil
++tgdb_driver_LDADD = libtgdb.a -lannotate_two -lgdbmi -lrline -ladt -lutil
+
+ tgdb_driver_SOURCES = driver.c
+
+ tgdb_driver_DEPENDENCIES = \
++libtgdb.a \
+ $(top_builddir)/various/util/src \
+ $(top_builddir)/various/adt/src \
+ $(top_builddir)/various/rline/src \
diff --git a/dev-util/cgdb/files/cgdb-fbsd.patch b/dev-util/cgdb/files/cgdb-fbsd.patch
new file mode 100644
index 000000000000..d1281b48a777
--- /dev/null
+++ b/dev-util/cgdb/files/cgdb-fbsd.patch
@@ -0,0 +1,21 @@
+Index: cgdb-0.5.3/various/util/src/pseudo.c
+===================================================================
+--- cgdb-0.5.3.orig/various/util/src/pseudo.c
++++ cgdb-0.5.3/various/util/src/pseudo.c
+@@ -35,6 +35,8 @@
+ */
+
+ #include "config.h"
++#include <sys/types.h>
++
+ #define _GNU_SOURCE /* ptsname_r() under Linux */
+ #include <fcntl.h>
+ #include <grp.h>
+@@ -49,7 +51,6 @@
+ #include <libutil.h>
+ #endif
+
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <stdio.h>
diff --git a/dev-util/cgdb/files/digest-cgdb-0.5.3 b/dev-util/cgdb/files/digest-cgdb-0.5.3
index cfaae0a79942..c5bc56c04cf0 100644
--- a/dev-util/cgdb/files/digest-cgdb-0.5.3
+++ b/dev-util/cgdb/files/digest-cgdb-0.5.3
@@ -1 +1,3 @@
MD5 51adf1db0307adaba24336ef3a18e0c3 cgdb-0.5.3.tar.gz 527341
+RMD160 7918ce73253da1f85e7365eff332c31af028285c cgdb-0.5.3.tar.gz 527341
+SHA256 3db7b273baf08d45505765d2594d992583f0bbd299616c1e98160bdefce647b6 cgdb-0.5.3.tar.gz 527341
diff --git a/dev-util/cgdb/files/digest-cgdb-0.6.2 b/dev-util/cgdb/files/digest-cgdb-0.6.2
new file mode 100644
index 000000000000..209df21a244f
--- /dev/null
+++ b/dev-util/cgdb/files/digest-cgdb-0.6.2
@@ -0,0 +1,3 @@
+MD5 4b3bc8bbb3bc5bb79137f1b471e018f4 cgdb-0.6.2.tar.gz 748404
+RMD160 acd805a4a6c04aa74350deff25cd5b2fb29f4d27 cgdb-0.6.2.tar.gz 748404
+SHA256 b4f0508dbb4ae510b2bf12a3eb48344af2baea4ac2e79e38889774a20c5e1e67 cgdb-0.6.2.tar.gz 748404