summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/gdb/ChangeLog7
-rw-r--r--sys-devel/gdb/Manifest46
-rw-r--r--sys-devel/gdb/files/digest-gdb-6.3-r43
-rw-r--r--sys-devel/gdb/gdb-6.3-r4.ebuild108
4 files changed, 140 insertions, 24 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index f721408642cf..8af4d7cc4dc7 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gdb
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.77 2005/05/15 21:55:35 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.78 2005/07/09 23:44:44 vapier Exp $
+
+*gdb-6.3-r4 (09 Jul 2005)
+
+ 09 Jul 2005; Mike Frysinger <vapier@gentoo.org> +gdb-6.3-r4.ebuild:
+ Sync with latest debian patchset.
*gdb-6.2.1-r1 (15 May 2005)
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index a951a375fd13..010e287d4724 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,38 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 93827ee04453324bacd51781cf0c9246 gdb-6.3-r3.ebuild 2997
-MD5 fb4ab4aaccb90b523c650a5f30d02281 gdb-6.2.1.ebuild 1784
-MD5 29d655fc1180322331d1ea21f429d4b4 ChangeLog 11263
MD5 2a52c4cd9bf5e2667c6bc7312e179fa0 gdb-6.1.ebuild 1807
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108
-MD5 d3ab2683d88b3cbecb8a9faa439703a1 files/bfd-malloc-wrap.patch 782
-MD5 7ea8f83bb7b0d70e7e6d6c8cf42292d3 files/gdb-6.x-crash.patch 678
-MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599
-MD5 b3790be989db97b22c599572afbce109 files/digest-gdb-6.2.1 133
+MD5 93827ee04453324bacd51781cf0c9246 gdb-6.3-r3.ebuild 2997
+MD5 fb4ab4aaccb90b523c650a5f30d02281 gdb-6.2.1.ebuild 1784
+MD5 b2681a2cdb82cd11a5274f1cc37aad3c ChangeLog 11398
+MD5 7f3bd7e3da4c3baec407912a999351bf gdb-6.3-r4.ebuild 2997
+MD5 31dd65bca08d42b0b7cdb61c53fd647f files/gdb-6.2.1-libiberty-pic.patch 370
MD5 e497ab2f05d847bde74f4e3441e2c7a2 files/gdb-6.0-coreutils.patch 1964
-MD5 37007f485c9f93564f99675e59b65e7f files/gdb-6.2.1-pass-libdir.patch 300
+MD5 b3790be989db97b22c599572afbce109 files/digest-gdb-6.2.1 133
MD5 1de0e1b91ac150426719e904f0e1a5cd files/gdb-5.3-sparc-nat-asm.patch 521
-MD5 c7d303fad9794b8a463bddf3c43737e5 files/gdb-6.2.1-200-uclibc-readline-conf.patch 586
-MD5 cc65dade388e6a21b5858b146f52b6eb files/gdb-6.1-uclibc.patch 6363
-MD5 9b939edb72d0e54160869b48f2ebc080 files/gdb-6.2.1-400-mips-coredump.patch 736
-MD5 a4610ec65e88f73e0b00b525467a5372 files/gdb-6.3-scanmem.patch 6652
+MD5 374352fdf0b1516a88eeaf0a921a2208 files/gdb-6.2.1-relative-paths.patch 3499
MD5 2657b597618d0c35b48f47e3f808d171 files/gdb-6.3-relative-paths.patch 3286
MD5 0ddba28928cd6fa87537312ddfa9d5ee files/gdb-6.3-gdbinit-stat.patch 431
-MD5 374352fdf0b1516a88eeaf0a921a2208 files/gdb-6.2.1-relative-paths.patch 3499
+MD5 6516e95e4ed8409e4173d7f1f66f03b8 files/digest-gdb-6.3-r3 183
MD5 460629563df21e6a68b8941c07d4f30b files/digest-gdb-6.1 131
+MD5 8b7f5c46b8dabbc9239c37f52278b971 files/gdb-6.3-uclibc.patch 8221
MD5 adbe09f334ca5267284ca9404400d2f5 files/gdb-6.0-threadver-aug2003.patch 4081
+MD5 d3ab2683d88b3cbecb8a9faa439703a1 files/bfd-malloc-wrap.patch 782
+MD5 9b939edb72d0e54160869b48f2ebc080 files/gdb-6.2.1-400-mips-coredump.patch 736
+MD5 cc65dade388e6a21b5858b146f52b6eb files/gdb-6.1-uclibc.patch 6363
+MD5 7ea8f83bb7b0d70e7e6d6c8cf42292d3 files/gdb-6.x-crash.patch 678
+MD5 c7d303fad9794b8a463bddf3c43737e5 files/gdb-6.2.1-200-uclibc-readline-conf.patch 586
+MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599
+MD5 1bf79e32094a4c2c7cde754dd12e4d90 files/digest-gdb-6.3-r4 183
MD5 1da0dcdbff7ba48a06350a28ecdd238e files/gdb-6.1-ppc64-01.patch 359
-MD5 6516e95e4ed8409e4173d7f1f66f03b8 files/digest-gdb-6.3-r3 183
-MD5 31dd65bca08d42b0b7cdb61c53fd647f files/gdb-6.2.1-libiberty-pic.patch 370
-MD5 8b7f5c46b8dabbc9239c37f52278b971 files/gdb-6.3-uclibc.patch 8221
+MD5 37007f485c9f93564f99675e59b65e7f files/gdb-6.2.1-pass-libdir.patch 300
+MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108
+MD5 a4610ec65e88f73e0b00b525467a5372 files/gdb-6.3-scanmem.patch 6652
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
-iQCVAwUBQofE4Z4WFLgrx1GWAQJrWgP+JJ+y07tKWAlj9IL3Ou8Zeu1VONeC9o5l
-yyCmcCb5L2tuCxs77U8EMVE7+H7peC1lqjlAi/WzOp7/phZT0qGnWjNXj/SOLvB7
-fijWJyKReQr30qicAvOTjjn+X7yxF2a4tHNn0uwIU0vHeyLK2GkaNA/y+6nQPvAm
-OgxP4YVMtNk=
-=7ea9
+iD8DBQFC0GGrgIKl8Uu19MoRAvmAAJ9AM09qahX+XoEbAPjFvbknP76HVACdFsz6
+9Yl0uHFlzhhfwfkwj+CM5to=
+=B9Mo
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gdb/files/digest-gdb-6.3-r4 b/sys-devel/gdb/files/digest-gdb-6.3-r4
new file mode 100644
index 000000000000..e097257fc012
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-6.3-r4
@@ -0,0 +1,3 @@
+MD5 05b928f41fa5b482e49ca2c24762a0ae gdb-6.3.tar.bz2 13446729
+MD5 5537c9d1ce95293a921ff4b5a55f5e5e gdb_6.3-6.diff.gz 201861
+MD5 35e70c29e393433b3847527d808f59c2 gdb_init.txt.bz2 6247
diff --git a/sys-devel/gdb/gdb-6.3-r4.ebuild b/sys-devel/gdb/gdb-6.3-r4.ebuild
new file mode 100644
index 000000000000..566725ac10ea
--- /dev/null
+++ b/sys-devel/gdb/gdb-6.3-r4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.3-r4.ebuild,v 1.1 2005/07/09 23:44:44 vapier Exp $
+
+inherit flag-o-matic eutils
+
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+DEB_VER=6
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2
+ mirror://debian/pool/main/g/gdb/gdb_${PV}-${DEB_VER}.diff.gz
+ mirror://gentoo/gdb_init.txt.bz2"
+#SRC_URI="${SRC_URI} mirror://gentoo/gdb-6.1-hppa-01.patch.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~s390"
+IUSE="nls test"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2"
+DEPEND="${RDEPEND}
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ mv "${WORKDIR}"/gdb_init.txt . || die
+ epatch "${WORKDIR}"/gdb_${PV}-${DEB_VER}.diff
+ for f in $(<debian/patches/series) ; do
+ EPATCH_SINGLE_MSG="Applying Debian's ${f}" \
+ epatch debian/patches/${f}
+ done
+ epatch "${FILESDIR}"/gdb-6.3-uclibc.patch
+ epatch "${FILESDIR}"/gdb-6.3-relative-paths.patch
+ #epatch "${FILESDIR}"/gdb-6.x-crash.patch
+ epatch "${FILESDIR}"/gdb-6.2.1-pass-libdir.patch
+ epatch "${FILESDIR}"/gdb-6.3-scanmem.patch
+ epatch "${FILESDIR}"/gdb-6.3-gdbinit-stat.patch
+ # sec bug 91398
+ epatch "${FILESDIR}"/bfd-malloc-wrap.patch
+
+ epatch "${FILESDIR}"/gdb-6.2.1-200-uclibc-readline-conf.patch
+ epatch "${FILESDIR}"/gdb-6.2.1-400-mips-coredump.patch
+ epatch "${FILESDIR}"/gdb-6.2.1-libiberty-pic.patch
+
+ strip-linguas -u bfd/po opcodes/po
+}
+
+src_compile() {
+ replace-flags -O? -O2
+ econf $(use_enable nls) || die
+ emake -j1 || die
+}
+
+src_test() {
+ make check || ewarn "tests failed"
+}
+
+src_install() {
+ make \
+ prefix="${D}"/usr \
+ mandir="${D}"/usr/share/man \
+ infodir="${D}"/usr/share/info \
+ libdir="${D}"/nukeme includedir="${D}"/nukeme \
+ install || die "install"
+ # The includes and libs are in binutils already
+ rm -r "${D}"/nukeme
+
+ # Don't install docs when building a cross-gdb
+ if [[ ${CTARGET} != ${CHOST} ]] ; then
+ rm -r "${D}"/usr/share
+ return 0
+ fi
+
+ dodoc README
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \
+ gdb/NEWS gdb/ChangeLog* gdb/TODO
+ docinto sim
+ dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING
+ docinto mmalloc
+ dodoc mmalloc/MAINTAINERS mmalloc/ChangeLog mmalloc/TODO
+
+ if use x86 ; then
+ dodir /etc/skel/
+ cp "${S}"/gdb_init.txt "${D}"/etc/skel/.gdbinit \
+ || die "install ${D}/etc/skel/.gdbinit"
+ fi
+
+ if ! has noinfo ${FEATURES} ; then
+ make -C "${S}"/gdb/doc \
+ infodir="${D}"/usr/share/info \
+ install-info || die "install doc info"
+ make -C "${S}"/bfd/doc \
+ infodir="${D}"/usr/share/info \
+ install-info || die "install bfd info"
+ fi
+}