diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-25 06:01:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-25 06:01:20 +0000 |
commit | a695268a84205cc1005c6477a06908e1b06af792 (patch) | |
tree | 8b1f23a1bb9cdedd948919758709ec424d7119ee /sys-devel/gdb | |
parent | Adding package from java-overlay. Initial work done by caster, Betelgeuse an... (diff) | |
download | historical-a695268a84205cc1005c6477a06908e1b06af792.tar.gz historical-a695268a84205cc1005c6477a06908e1b06af792.tar.bz2 historical-a695268a84205cc1005c6477a06908e1b06af792.zip |
Grab fix from upstream for crash #210636 by emerald.
Package-Manager: portage-2.2_pre2
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-6.7.1-r3.ebuild | 84 |
3 files changed, 96 insertions, 5 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 0bff7441e181..1e69e1d1e7d5 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.132 2008/02/24 15:55:24 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.133 2008/02/25 06:01:20 vapier Exp $ + +*gdb-6.7.1-r3 (25 Feb 2008) + + 25 Feb 2008; Mike Frysinger <vapier@gentoo.org> +gdb-6.7.1-r3.ebuild: + Grab fix from upstream for crash #210636 by emerald. 24 Feb 2008; Raúl Porcel <armin76@gentoo.org> gdb-6.7.1-r2.ebuild: alpha/ia64/sparc/x86 stable diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index 0f543883f0ec..def70048ab30 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -6,19 +6,21 @@ DIST gdb-6.6.tar.bz2 14535755 RMD160 6430798ba47a1913676622db9a73bf2bcfa703be SH DIST gdb-6.7-patches-1.0.tar.bz2 12838 RMD160 18f3c59508996260a2802ff7c448c052745e09ed SHA1 b5808222cb1ca227966cc3f893dac7be0a9fa16c SHA256 12f8c9b7cfbfb26c93be2f0947ae7a8dc79330a8e0bfe09ef75de5af811c4288 DIST gdb-6.7.1-patches-1.0.tar.bz2 12966 RMD160 6a71494624e4b48a50e735c41fc2575ac8ec320d SHA1 46167b8d56708264474d19a6adbb75787014bd57 SHA256 641c0a6d18521ef05eaee0bf2c95889c330504e9cb8e01a68223ff800aa5e003 DIST gdb-6.7.1-patches-1.2.tar.bz2 108825 RMD160 fbc3f10cae8decabc863c82d13d714e84bfa8960 SHA1 66b3ea852a27dec99d5bdba8ccaa63bbfaa7a191 SHA256 3be9b6f2a6e1ec849051863fe0403c37039bed24956bfc7b6a021aada4798dcf +DIST gdb-6.7.1-patches-1.3.tar.bz2 109192 RMD160 412c8ef3a4dd2073bd56b01d762af8c5bcd1ba6c SHA1 c648fe09b120ab45e367e904758cdd95abeb675e SHA256 8d614d6ecdb343310904e293bc86f154550829cb45c5b5bd3bff9c26543f9132 DIST gdb-6.7.1.tar.bz2 15080950 RMD160 c5ae709aefe75094c8d08341bfb882b490ddb2a2 SHA1 4ecfb5896d511111d9a5d91e937501caa9d33ced SHA256 f98cec38420f4f1ce3da2f16e6045f086d24dfcf05996b2d74f8620691442f62 DIST gdb-6.7.tar.bz2 15073550 RMD160 f0986444276aab71812de18a68d985c69bff053a SHA1 ae382e15bae724040612bab463f1df911ce0056e SHA256 ee9426b4e63414de2435a46f5f3f764fc2a343b9bc764de04e8652ab68c095b5 EBUILD gdb-6.6-r2.ebuild 1965 RMD160 dd9796c54dd064da5320890ae75b5daeb990966e SHA1 3fa16ab607a198a45df1c97a89ce014428e67cc0 SHA256 8616917d220910323743342822761795e29ee199e77fc7602ca9483e7e7d1e37 EBUILD gdb-6.7.1-r1.ebuild 2019 RMD160 2e6672ba901b1604da827f3ea144e0eee2017905 SHA1 41320faec8433881937795fc57d981dd0ea0f91f SHA256 900f1d97aa84d90c05f27feecac357da51b460982aa1c80da639c8d43db99c77 EBUILD gdb-6.7.1-r2.ebuild 2059 RMD160 d0ee80f1e74c86e984b39d39bb863fe9bd76372e SHA1 3254b7f25cc2e78ee3ebf084530b3f5f84f09155 SHA256 678d63538ad0dbaf1e28338f416f10f926f237ef068c107f1985f8fb4b1752ea +EBUILD gdb-6.7.1-r3.ebuild 2065 RMD160 1aa5b43762f9d3f1311edbdcc79e32154fba2c9d SHA1 29d7f050fb8b0064044c6a01640ec4a6c4d862b8 SHA256 c49c0fba425e6f4a9e230d8c0fd70a482d6a40cc73990e18fbb8fec951335962 EBUILD gdb-6.7.1.ebuild 2006 RMD160 71ca5f9acbf6e910e7a35fdca3cf5cf3eed91200 SHA1 9f1a771042a178e04a1d91802dc4053a7f0a08f9 SHA256 779f8edfe16bf839cc7dea920e843047357910705d9a0e2f548d824fe801c7a2 EBUILD gdb-6.7.ebuild 2014 RMD160 b23a09a5d0d773d0b6e2404fd585561ee2925f48 SHA1 6520d8ece4ce1c3268c2f4cf0486c753ffb2c54c SHA256 b3d686f0ce7d5e3033b0239b4a45a984238df54cbb79593783369524ae088df6 -MISC ChangeLog 18317 RMD160 8d57edc482d30a535b1df7ddec951a3da3732c8d SHA1 5b01214582e48d6355890b9018bfe9924560b5bb SHA256 f52e8f32ebd53ce67acf02dc871c762aae735b9193ad1e0fe8cf5352ea4a58ef +MISC ChangeLog 18473 RMD160 4a1f06f07678d0376238611599d09404b06848c7 SHA1 1e89857268030e235a0ec3fb18d99476198f666a SHA256 36624234eeb0b5b18368f60031ec7c498d32e4730dfe43686db83f6297711ed7 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHwj5Pj9hvisErhMIRArgnAKCdjF/Pd8MQPr5IL6cAuKLB3+Iu+wCbBUBz -wbnUScxdGLYHFsd4ojoaPFU= -=ZhJ7 +iD8DBQFHwlm2j9hvisErhMIRAlD5AJoCanCuqsKZPqk/tCInw0P/3CLaWACePXRI +t4p1NESUJ7T9U/VMDy9aHpY= +=8OIJ -----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/gdb-6.7.1-r3.ebuild b/sys-devel/gdb/gdb-6.7.1-r3.ebuild new file mode 100644 index 000000000000..6a8b267fd3c2 --- /dev/null +++ b/sys-devel/gdb/gdb-6.7.1-r3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.7.1-r3.ebuild,v 1.1 2008/02/25 06:01:20 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.3" +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 + sys-libs/readline" +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 \ + --with-system-readline \ + $(use_enable nls) \ + || die + emake || die +} + +src_test() { + make check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + 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 +} |