summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-04 23:33:50 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-04 23:33:50 +0000
commit5c5aa7e655f29d5be07379b52e7e056b84968196 (patch)
treea26dbfcf12ffc17ad45f8777555a9587253586ac /sys-devel
parentIncorporated dictionary pdepends (bug #48072) (diff)
downloadgentoo-2-5c5aa7e655f29d5be07379b52e7e056b84968196.tar.gz
gentoo-2-5c5aa7e655f29d5be07379b52e7e056b84968196.tar.bz2
gentoo-2-5c5aa7e655f29d5be07379b52e7e056b84968196.zip
Add some fixes from upstream #150963 (fix SuperH detection) by Manuel Lauss and #169366 (fix Corrupted DWARF expression error) by Hanno Meyer-Thurow.
(Portage version: 2.1.2-r14)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gdb/ChangeLog8
-rw-r--r--sys-devel/gdb/files/digest-gdb-6.6-r16
-rw-r--r--sys-devel/gdb/gdb-6.6-r1.ebuild82
3 files changed, 95 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index 6e21b096fedf..e59242f1536d 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/gdb
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.107 2007/02/21 18:19:21 eroyf Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.108 2007/03/04 23:33:50 vapier Exp $
+
+*gdb-6.6-r1 (04 Mar 2007)
+
+ 04 Mar 2007; Mike Frysinger <vapier@gentoo.org> +gdb-6.6-r1.ebuild:
+ Add some fixes from upstream #150963 (fix SuperH detection) by Manuel Lauss
+ and #169366 (fix Corrupted DWARF expression error) by Hanno Meyer-Thurow.
21 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org> gdb-6.6.ebuild:
Stable on MIPS; bug #164336
diff --git a/sys-devel/gdb/files/digest-gdb-6.6-r1 b/sys-devel/gdb/files/digest-gdb-6.6-r1
new file mode 100644
index 000000000000..5658abcca574
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-6.6-r1
@@ -0,0 +1,6 @@
+MD5 d60f931d2f579834dd6af9e97f12be0f gdb-6.6-patches-1.1.tar.bz2 10749
+RMD160 033c9efb72902e255bbf03cf98bee23f2b5e8653 gdb-6.6-patches-1.1.tar.bz2 10749
+SHA256 75ac23ad8690c560166920701e0a4f8e2bd8437ca9db35f6a00faf3207d4578e gdb-6.6-patches-1.1.tar.bz2 10749
+MD5 a4df41d28dd514d64e8ccbfe125fd9a6 gdb-6.6.tar.bz2 14535755
+RMD160 6430798ba47a1913676622db9a73bf2bcfa703be gdb-6.6.tar.bz2 14535755
+SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd gdb-6.6.tar.bz2 14535755
diff --git a/sys-devel/gdb/gdb-6.6-r1.ebuild b/sys-devel/gdb/gdb-6.6-r1.ebuild
new file mode 100644
index 000000000000..1d85bbbe720b
--- /dev/null
+++ b/sys-devel/gdb/gdb-6.6-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.6-r1.ebuild,v 1.1 2007/03/04 23:33:50 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
+
+PATCH_VER="1.1"
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2
+ ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2
+ mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
+IUSE="nls test vanilla"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2"
+DEPEND="${RDEPEND}
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ strip-linguas -u bfd/po opcodes/po
+}
+
+src_compile() {
+ replace-flags -O? -O2
+ econf \
+ --disable-werror \
+ $(use_enable nls) \
+ || die
+ emake || die
+}
+
+src_test() {
+ make check || ewarn "tests failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libdir=/nukeme includedir=/nukeme \
+ install || die
+ rm -r "${D}"/nukeme || die
+
+ # 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/PROBLEMS
+ docinto sim
+ dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING
+
+ dodoc "${WORKDIR}"/extra/gdbinit.sample
+
+ # Remove shared info pages
+ rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info*
+}
+
+pkg_postinst() {
+ # portage sucks and doesnt unmerge files in /etc
+ rm -vf "${ROOT}"/etc/skel/.gdbinit
+}