diff options
author | Michael McCabe <randy@gentoo.org> | 2004-04-18 21:18:26 +0000 |
---|---|---|
committer | Michael McCabe <randy@gentoo.org> | 2004-04-18 21:18:26 +0000 |
commit | f5a174481f26e1907c31a8b147bd474344449358 (patch) | |
tree | 0563311e4519386b344a4b477074f367355dd961 /sys-devel/gdb | |
parent | update SRC_URI #47894 (diff) | |
download | historical-f5a174481f26e1907c31a8b147bd474344449358.tar.gz historical-f5a174481f26e1907c31a8b147bd474344449358.tar.bz2 historical-f5a174481f26e1907c31a8b147bd474344449358.zip |
s390 specific fixes to close bug 47903
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 12 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 36 | ||||
-rw-r--r-- | sys-devel/gdb/files/digest-gdb-5.3-r1 | 3 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-5.3-r1.ebuild | 116 |
4 files changed, 149 insertions, 18 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index fa37ad968dd5..660bd54928f4 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for sys-devel/gdb # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.33 2004/04/06 14:15:49 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.34 2004/04/18 21:18:26 randy Exp $ + +*gdb-5.3-r1 (18 Apr 2004) + + 18 Apr 2004; Michael McCabe <randy@gentoo.org> +gdb-5.3-r1.ebuild: + Added s390 specific fixes to gdb-5.3. Closes bug #47903 + +*gdb-5.3-r1 18 Apr 2004 + + 18 Apr 2004; <> + # INSERT ENTRY HERE *gdb-6.1 (05 Apr 2004) diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index cd0b52d2fec2..bef49ef4cd8a 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -1,26 +1,28 @@ -MD5 671560419eb3fb6a63cae639dcb8362b gdb-5.3.90.ebuild 3035 -MD5 09aa2d381c0bcc1edb5dc2c06d1880bc gdb-6.0-r1.ebuild 1955 -MD5 2b326bc097aac4a9b3957138d5b82b4e gdb-6.0.ebuild 1749 +MD5 39bb7f6847124f41eb2b20bcc55db26c ChangeLog 5496 MD5 bcb2e8f5f756baa5dfcf4e383266156f gdb-5.1.1-r2.ebuild 1903 MD5 37ebaadc7e64780c5562b08570002f81 gdb-5.2.1.ebuild 1636 +MD5 671560419eb3fb6a63cae639dcb8362b gdb-5.3.90.ebuild 3035 MD5 9a8f4809d78b7093dde89937f0c5133d gdb-5.3.ebuild 2437 -MD5 4f13f349a6dbd7b258b072f3a0904300 ChangeLog 5273 -MD5 8fc103939b051cee290608910010c7e6 gdb-6.1.ebuild 1467 +MD5 09aa2d381c0bcc1edb5dc2c06d1880bc gdb-6.0-r1.ebuild 1955 +MD5 2b326bc097aac4a9b3957138d5b82b4e gdb-6.0.ebuild 1749 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 5b0433c121b92f2a35c2106bbf45bbb9 files/gdb-5.3-hppa-03.patch 2678 -MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108 -MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599 +MD5 8fc103939b051cee290608910010c7e6 gdb-6.1.ebuild 1467 +MD5 28f87f8fefa01aec765e104fb16e2a95 gdb-5.3-r1.ebuild 2658 +MD5 c9906583fd4286272dff5fd2503ebe39 files/digest-gdb-5.1.1-r2 63 MD5 263738287571b63dd7bb69d3d5d50e04 files/digest-gdb-5.2.1 64 -MD5 e497ab2f05d847bde74f4e3441e2c7a2 files/gdb-6.0-coreutils.patch 1964 -MD5 734c7bb9c66275fa7982d104905234da files/gdb-5.1.1-ppc-booltypes.patch 994 -MD5 1de0e1b91ac150426719e904f0e1a5cd files/gdb-5.3-sparc-nat-asm.patch 521 -MD5 4d383b990c22a7f0ee0d4a1679b82d20 files/man.diff 607 MD5 2e43a9ed1afd8f8047e7b752b95f0c12 files/digest-gdb-5.3 128 -MD5 420712ede2a47fedcae76b6f6215b9d4 files/digest-gdb-6.0 62 -MD5 4a680f64ba0d82018b9a52ac1fad8b23 files/digest-gdb-6.1 62 -MD5 ca7cf8e4b2eba16df1842e0a453e2b32 files/gdb-5.3-hppa-01.patch 182179 -MD5 c9906583fd4286272dff5fd2503ebe39 files/digest-gdb-5.1.1-r2 63 -MD5 adbe09f334ca5267284ca9404400d2f5 files/gdb-6.0-threadver-aug2003.patch 4081 MD5 9b0c6e2a754a741a6cd20cacea4f408b files/digest-gdb-5.3.90 158 +MD5 420712ede2a47fedcae76b6f6215b9d4 files/digest-gdb-6.0 62 MD5 c87a4627da2b7a05406088f51237e5b4 files/digest-gdb-6.0-r1 127 +MD5 734c7bb9c66275fa7982d104905234da files/gdb-5.1.1-ppc-booltypes.patch 994 +MD5 ca7cf8e4b2eba16df1842e0a453e2b32 files/gdb-5.3-hppa-01.patch 182179 MD5 d5314bcbc29fb3ce8351caa3a501c351 files/gdb-5.3-hppa-02.patch 926 +MD5 5b0433c121b92f2a35c2106bbf45bbb9 files/gdb-5.3-hppa-03.patch 2678 +MD5 1de0e1b91ac150426719e904f0e1a5cd files/gdb-5.3-sparc-nat-asm.patch 521 +MD5 e497ab2f05d847bde74f4e3441e2c7a2 files/gdb-6.0-coreutils.patch 1964 +MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108 +MD5 adbe09f334ca5267284ca9404400d2f5 files/gdb-6.0-threadver-aug2003.patch 4081 +MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599 +MD5 4d383b990c22a7f0ee0d4a1679b82d20 files/man.diff 607 +MD5 4a680f64ba0d82018b9a52ac1fad8b23 files/digest-gdb-6.1 62 +MD5 55e0bb9aefb271ccaa10ec95083f31da files/digest-gdb-5.3-r1 200 diff --git a/sys-devel/gdb/files/digest-gdb-5.3-r1 b/sys-devel/gdb/files/digest-gdb-5.3-r1 new file mode 100644 index 000000000000..9d4e2b030486 --- /dev/null +++ b/sys-devel/gdb/files/digest-gdb-5.3-r1 @@ -0,0 +1,3 @@ +MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721 +MD5 5ecd492d63fc129ae533e5c308c8af09 gdb-5_3-objc-patch.tgz 61236 +MD5 8a69379518ee53df892886c60445838c gdb-5.3-s390-june2003.tar.gz 26145 diff --git a/sys-devel/gdb/gdb-5.3-r1.ebuild b/sys-devel/gdb/gdb-5.3-r1.ebuild new file mode 100644 index 000000000000..8c9cb2b320ba --- /dev/null +++ b/sys-devel/gdb/gdb-5.3-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.3-r1.ebuild,v 1.1 2004/04/18 21:18:26 randy Exp $ + +IUSE="nls objc" + +S=${WORKDIR}/${P} +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2 + objc? ( ftp://ftp.gnustep.org/pub/gnustep/patches/gdb-5_3-objc-patch.tgz ) + mirror://gentoo/${P}-s390-june2003.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 s390" + +DEPEND=">=sys-libs/ncurses-5.2-r2 + nls? ( sys-devel/gettext )" + +inherit flag-o-matic ccc +replace-flags -O? -O2 + +src_unpack() { + unpack gdb-${PV}.tar.bz2 + unpack ${P}-s390-june2003.tar.gz + + if [ "${ARCH}" = "hppa" ]; then + cd ${S} + patch -p1 < ${FILESDIR}/gdb-5.3-hppa-01.patch + patch -p1 < ${FILESDIR}/gdb-5.3-hppa-02.patch + patch -p1 < ${FILESDIR}/gdb-5.3-hppa-03.patch + fi + + #s390 Specific fixes to close Bug #47903 + if [ "${ARCH}" = "s390" ]; then + patch -sp0 < ${WORKDIR}/gdb-5.3-s390-june2003.diff + fi + + # Fix Compile bug on sparc + if [ "${ARCH}" = "sparc" ]; then + cd ${S} + epatch ${FILESDIR}/${P}-sparc-nat-asm.patch + fi + + + if [ -n "`use objc`" ] ; then + unpack gdb-5_3-objc-patch.tgz + cd ${S} + + patch -p1 < ${WORKDIR}/gdb-5_3-objc-patch/gdb-5.3-objc-patch.diff || die + + cp ${WORKDIR}/gdb-5_3-objc-patch/objc-exp.y gdb/ + cp ${WORKDIR}/gdb-5_3-objc-patch/objc-lang.c gdb/ + cp ${WORKDIR}/gdb-5_3-objc-patch/objc-lang.h gdb/ + cp -r ${WORKDIR}/gdb-5_3-objc-patch/gdb.objc gdb/testsuite/ + cd gdb/testsuite + autoconf || die + fi + + is-ccc && hide-restrict-arr +} + +src_compile() { + + local myconf + + use nls && myconf="--enable-nls" || myconf="--disable-nls" + + econf ${myconf} || die + + make || die +} + +src_install() { + + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + cd gdb/doc + make \ + infodir=${D}/usr/share/info \ + install-info || die + + cd ${S}/bfd/doc + make \ + infodir=${D}/usr/share/info \ + install-info || die + + cd ${S} + + # These includes and libs are in binutils already + rm -f ${D}/usr/lib/libbfd.* + rm -f ${D}/usr/lib/libiberty.* + rm -f ${D}/usr/lib/libopcodes.* + rm -f ${D}/usr/share/info/{bfd,configure,standards}.info* + + rm -rf ${D}/usr/include + + dodoc COPYING* README + + docinto gdb + dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README \ + gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* \ + gdb/TODO + + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + docinto mmalloc + dodoc mmalloc/COPYING.LIB mmalloc/MAINTAINERS \ + mmalloc/ChangeLog mmalloc/TODO +} |