From 0faffa83b8047e902f3d42e74f8fb8dcae6e6c8a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 4 Mar 2007 23:33:50 +0000 Subject: [PATCH] Add some fixes from upstream #150963 (fix SuperH detection) by Manuel Lauss and #169366 (fix Corrupted DWARF expression error) by Hanno Meyer-Thurow. Package-Manager: portage-2.1.2-r14 --- sys-devel/gdb/ChangeLog | 8 ++- sys-devel/gdb/Manifest | 24 +++++--- sys-devel/gdb/files/digest-gdb-6.6-r1 | 6 ++ sys-devel/gdb/gdb-6.6-r1.ebuild | 82 +++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 9 deletions(-) create mode 100644 sys-devel/gdb/files/digest-gdb-6.6-r1 create mode 100644 sys-devel/gdb/gdb-6.6-r1.ebuild 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 +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 gdb-6.6.ebuild: Stable on MIPS; bug #164336 diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index adc4e572db93..cc505afc22c1 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -122,6 +122,7 @@ DIST gdb-6.4.tar.bz2 13917226 RMD160 17e020f34628a004c9ff4539b23e630719d8c34c SH DIST gdb-6.5-patches-1.0.tar.bz2 19595 RMD160 c3cd11a7ad5d29926df8dc30e608a239e5451247 SHA1 82ae34ac04fc59f63d7e1d7ab98aeaa79bb2a2df SHA256 590f31649dea7004107e6f186f8af6824c5fdbcef779f8eafd34e5983f3e4195 DIST gdb-6.5.tar.bz2 14303558 RMD160 ec5138a833d0f67b3e27fde653f1a80dec79b99f SHA1 4ec883314affaecc564fd5980996b4e81119a886 SHA256 0011318d9720781d486c835e88b915f90f2c10e7101d648b64dd4739218d3faf DIST gdb-6.6-patches-1.0.tar.bz2 9961 RMD160 01c2b749fbd0468a2d91e78c3dac6376d453e128 SHA1 ce5fbba32dc926915f3966996368f1c698262f69 SHA256 745e82cd043ca8a3ca6b45c3c10e1f7670f111b19fbe18276929589dfacfe510 +DIST gdb-6.6-patches-1.1.tar.bz2 10749 RMD160 033c9efb72902e255bbf03cf98bee23f2b5e8653 SHA1 65240f3117a8d12a69db5c79e73272582ccb77a5 SHA256 75ac23ad8690c560166920701e0a4f8e2bd8437ca9db35f6a00faf3207d4578e DIST gdb-6.6.tar.bz2 14535755 RMD160 6430798ba47a1913676622db9a73bf2bcfa703be SHA1 744bd0f0740dfe6527036b1dda8fe6a08adbbaeb SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd DIST gdb_6.3-6.diff.gz 201861 RMD160 9b55f1925a84002e25b4e82aa41abc55d79ac771 SHA1 8e6e1655f40f83d812f9e5a16c8c328def97dbe3 SHA256 9ef1f8a7f0b8c9d539ac93d997901ef34cdad7a5af9594463f51f3cb934b17e9 DIST gdb_init.txt.bz2 6247 RMD160 877e32656cd77f0083cc2506795979884671b7d4 SHA1 5fab02365c535e9c7df3cb541e3e61cf7ff58b01 SHA256 dbd88def6a317eba947a7c37af471d9deb447c4a9906322c1afccd6537f1c724 @@ -162,14 +163,18 @@ EBUILD gdb-6.5.ebuild 2487 RMD160 0a4226ee18bf49f7d1d78ac2f8163c057fe2c297 SHA1 MD5 d9c9bd9149ab7b0078f1fb057f835391 gdb-6.5.ebuild 2487 RMD160 0a4226ee18bf49f7d1d78ac2f8163c057fe2c297 gdb-6.5.ebuild 2487 SHA256 478564c21c882249e406ea73a6ccc5f1844ce3d549e26d6428e66cc74a94b54a gdb-6.5.ebuild 2487 +EBUILD gdb-6.6-r1.ebuild 1975 RMD160 4db1481ca78feb1da35c9a8ccfcaa0aaece39439 SHA1 2cd38998f6cd7fd1fab80fa2afc0d97f23a0c9e8 SHA256 1c6a1c9c2a2928a9b1dca5730c94d7ac873e46132ac13c30a236bc5b7dc3ad56 +MD5 426f56ae15b116e04dfd3dedcc9ea5bb gdb-6.6-r1.ebuild 1975 +RMD160 4db1481ca78feb1da35c9a8ccfcaa0aaece39439 gdb-6.6-r1.ebuild 1975 +SHA256 1c6a1c9c2a2928a9b1dca5730c94d7ac873e46132ac13c30a236bc5b7dc3ad56 gdb-6.6-r1.ebuild 1975 EBUILD gdb-6.6.ebuild 1961 RMD160 d050764907272e80d4cc23c9b468a601d59e3894 SHA1 c17d4a1c13b99dc400c8421e4a9e5a51b63429b8 SHA256 7e1137489fa3dc687b196e9a8f3b8ee137a96fe2d49bceecb04b3e9ecb4a9bc8 MD5 70228383b1533c3a3f21986a8fa0e6f2 gdb-6.6.ebuild 1961 RMD160 d050764907272e80d4cc23c9b468a601d59e3894 gdb-6.6.ebuild 1961 SHA256 7e1137489fa3dc687b196e9a8f3b8ee137a96fe2d49bceecb04b3e9ecb4a9bc8 gdb-6.6.ebuild 1961 -MISC ChangeLog 15335 RMD160 a2e5d7a2066ac1f0d60fbb00a560b3e2875a8f84 SHA1 7e636834ba3bb097fdd95d7bacd613a202d49474 SHA256 49a3b005d20c113ae1e7debfa02eed4e76df4d762dab9d95b368bf3841b187c1 -MD5 1dd15a0a04f00dd432ef613c23f1f310 ChangeLog 15335 -RMD160 a2e5d7a2066ac1f0d60fbb00a560b3e2875a8f84 ChangeLog 15335 -SHA256 49a3b005d20c113ae1e7debfa02eed4e76df4d762dab9d95b368bf3841b187c1 ChangeLog 15335 +MISC ChangeLog 15588 RMD160 56fbe82afbc7c2386b849b95f7f617b3b891e5f5 SHA1 893170b588ede476b133f16cf3b1e5717460cc46 SHA256 309c127b287968d988640bfa31a04b518aeb4bac4375a074762f283a4e9a72a4 +MD5 8538208599fb8711cec89f489ed873d0 ChangeLog 15588 +RMD160 56fbe82afbc7c2386b849b95f7f617b3b891e5f5 ChangeLog 15588 +SHA256 309c127b287968d988640bfa31a04b518aeb4bac4375a074762f283a4e9a72a4 ChangeLog 15588 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 @@ -204,10 +209,13 @@ SHA256 7fd4389fc08b0a3b109fdcbb5f120d19ef040f31e362f5706a0853f10b5e837e files/di MD5 08a0f59aa79095bce1ac2c4891c0de88 files/digest-gdb-6.6 488 RMD160 6df993e9621834ff63bcbdbd384e5a5e89029cc9 files/digest-gdb-6.6 488 SHA256 91b5c47e3ed1487903827d5261c1595ae751e502a2bd3f32a946f247854059b3 files/digest-gdb-6.6 488 +MD5 db8aa66bf79fc356dfa627bfe5bb6f3e files/digest-gdb-6.6-r1 491 +RMD160 3e536f7a35c2aabb1db7d9a7d76209b1fdd5a89c files/digest-gdb-6.6-r1 491 +SHA256 d3513dc00a21d23a89509c414d36e27af128fd6726884fbbd1040dcbb9e923e4 files/digest-gdb-6.6-r1 491 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFF3Iz16Xxn2nLwtdQRAuS9AJ47+CmYV0kFni3P02bkWbzRyj4mogCgjD7n -UUkDrVE+4+5hJNhXQsVeQEs= -=jJr5 +iD8DBQFF61dp8bi6rjpTunYRAg41AJ9r3K4Ew+0HIJT2WKi22ssp569IVwCgnniP +g1vYcbUPGgKBw+1b83cbBHQ= +=obRL -----END PGP SIGNATURE----- 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 +} -- 2.26.2