+++ /dev/null
-# ChangeLog for app-emulation/gdb-armulator
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/gdb-armulator/ChangeLog,v 1.4 2011/03/27 10:25:17 nirbheek Exp $
-
- 27 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
- gdb-armulator-5.0.ebuild:
- Fix slot-dep on gtk+/glib
-
- 20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
- +files/gdb-armulator-5.0-objstack.patch, +files/gtk-config,
- gdb-armulator-5.0.ebuild:
- Fix building with newer versions of gcc #211463 by Ihar Hrachyshka and trick
- the system to build with gtk-2 #211461 by Ihar Hrachyshka.
-
- 25 Jan 2007; Marius Mauch <genone@gentoo.org> gdb-armulator-5.0.ebuild:
- Replacing einfo with elog
-
-*gdb-armulator-5.0 (03 Jan 2006)
-
- 03 Jan 2006; Mike Frysinger <vapier@gentoo.org>:
- Initial import.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX gdb-armulator-5.0-objstack.patch 3807 RMD160 343791d8e66519a4c679b1964208b8c4edfe7e89 SHA1 28bcd2f731a0b79241cf5e9c277c32a11450118e SHA256 d1f106951faf2f8850313f381241c17672d4eca52ab031e1f070b5c2f0f7a5f3
-AUX gtk-config 87 RMD160 372fe81433c28726f71cf99986c9142f20605433 SHA1 973a86ac03cd251315e7b0a7a72d23603f1823c5 SHA256 95dc7514f6a305656ca9b973321e02a0376e9397ad6ad323f65d7601cfd7f015
-DIST gdb-5.0-uclinux-armulator-20021127.patch.gz 29618 RMD160 53025d84a598e3dc1df73a9bc5d9334d58fb8a4d SHA1 4c032aecc93d6f9a45aebc4d82872e9c24c6dde2 SHA256 aecd7028dfdb00a0f3581d78d6b334a773fa53e5d9e5dcf42ba041a43106d657
-DIST gdb-5.0.tar.bz2 9505342 RMD160 b38b5e8ac98e6c4fd98999754e6fb5dd5fb4a38a SHA1 0c7f9a75113a338e7ada6e30738899a6c0c3caac SHA256 fcbb454be100d7d9deee7fd39010c72e94f4fccb57b69ba40433a41c21539a25
-EBUILD gdb-armulator-5.0.ebuild 1534 RMD160 24f4e7dde8c1ea412a7eae26f5d72bf35e8d624d SHA1 43b9b79df0c00275a79517d5317b2fcb600c7dc7 SHA256 3f09bef56324282c4ba11e8ac79e8c660a7bb6f7451e8b8df88628e212fca157
-MISC ChangeLog 827 RMD160 a07073267364c73a50d3064cd35d10a202a4403f SHA1 ca16f9207ed9dc8a55ce5da5ea1186b61d0ac7ec SHA256 fc22ee78138b2ecf04bc865aa1cca200b63b9c9039ef4a6ad8179cbc19edd75d
-MISC metadata.xml 161 RMD160 77385273ea1d12ed4093a4167307486b74d1cf82 SHA1 aa4b2873e32de89c0b0aeb26b5782f77cb00948e SHA256 a11fdd02015a232398fdf22a20d26a95fc34d44c54513e6b26b6128d0b76122e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQIcBAEBAgAGBQJNjxCTAAoJEO/kOhxWD91k+TkP/1U+tU03Nw7mF7R8BYY5ptAw
-Zy4spPSiidpzE9mKIoanXym2DsZNuBTI2+l2RxMJr3icYl/jXi/IIr8s3c1qPpNo
-m+KodtlK2zwBgotJhNzjfyY1fWHkp9M8MYj9UWEu1qsfwHw2aOyYp3sNMTbAgMmn
-+w1ZSJ7UWMsX4oKaGvZLihiZfnQsL6XnryjR+S9D+EKTRyjH7f4EneD0pnhoSvB9
-p5bmUkvkAc6sG3QspA00GA4Rw+sUGfXZMSRNwncc+X9VuDWgIQBNy1a0naB0l7z1
-Y7OK1dGKBSs1rgF/Pp7qiPtEM646cBLeXdOCadr0Ntvc8NP2GA5LyKQJ35bk7V3F
-wSfoFuXsmcVToP1Bvge6WSAUiJiMTaBbjdLclKuJg+8xMtLqtrLxADPxWlQ42PO0
-N1o10GkmFhodcemlnttj0I3a4ag77z66C+FRp47ip3UKeZHWGoAnyVtZZtSF1MCX
-AcphHWVp7Es8Vy1vk/jFZgsr6e8k2pZ/TpYigaK5KHYUNaM+l1MGj6noAWV/485Z
-cQDwxhS9wTv2IJl4BlKHZrrqGUWzhV3itgASx4ScitrIpLql2uZwRdhWSXOC9UAF
-EfVpBiXNj9csg8VED6HRY5GCbFQMeO0lmKvMIhTm1k15fbaHEcnDiJ3EhY74U4XV
-sG7YjLfQMkSTLPuQDs6P
-=/s3j
------END PGP SIGNATURE-----
+++ /dev/null
---- gdb-5.0/include/obstack.h
-+++ gdb-5.0/include/obstack.h
-@@ -343,7 +343,7 @@
-
- #endif
-
--#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = achar)
-+#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = (achar))
-
- #define obstack_blank_fast(h,n) ((h)->next_free += (n))
-
-@@ -411,7 +411,7 @@
- ({ struct obstack *__o = (OBSTACK); \
- if (__o->next_free + 1 > __o->chunk_limit) \
- _obstack_newchunk (__o, 1); \
-- *(__o->next_free)++ = (datum); \
-+ obstack_1grow_fast (__o, datum); \
- (void) 0; })
-
- /* These assume that the obstack alignment is good enough for pointers or ints,
-@@ -423,19 +423,28 @@
- ({ struct obstack *__o = (OBSTACK); \
- if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
- _obstack_newchunk (__o, sizeof (void *)); \
-- *((void **)__o->next_free)++ = ((void *)datum); \
-- (void) 0; })
-+ obstack_ptr_grow_fast (__o, datum); })
-
- # define obstack_int_grow(OBSTACK,datum) \
- __extension__ \
- ({ struct obstack *__o = (OBSTACK); \
- if (__o->next_free + sizeof (int) > __o->chunk_limit) \
- _obstack_newchunk (__o, sizeof (int)); \
-- *((int *)__o->next_free)++ = ((int)datum); \
-+ obstack_int_grow_fast (__o, datum); })
-+
-+# define obstack_ptr_grow_fast(OBSTACK,aptr) \
-+__extension__ \
-+({ struct obstack *__o1 = (OBSTACK); \
-+ *(const void **) __o1->next_free = (aptr); \
-+ __o1->next_free += sizeof (const void *); \
- (void) 0; })
-
--# define obstack_ptr_grow_fast(h,aptr) (*((void **) (h)->next_free)++ = (void *)aptr)
--# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
-+# define obstack_int_grow_fast(OBSTACK,aint) \
-+__extension__ \
-+({ struct obstack *__o1 = (OBSTACK); \
-+ *(int *) __o1->next_free = (aint); \
-+ __o1->next_free += sizeof (int); \
-+ (void) 0; })
-
- # define obstack_blank(OBSTACK,length) \
- __extension__ \
-@@ -443,7 +452,7 @@
- int __len = (length); \
- if (__o->chunk_limit - __o->next_free < __len) \
- _obstack_newchunk (__o, __len); \
-- __o->next_free += __len; \
-+ obstack_blank_fast (__o, __len); \
- (void) 0; })
-
- # define obstack_alloc(OBSTACK,length) \
-@@ -530,26 +539,29 @@
- # define obstack_1grow(h,datum) \
- ( (((h)->next_free + 1 > (h)->chunk_limit) \
- ? (_obstack_newchunk ((h), 1), 0) : 0), \
-- (*((h)->next_free)++ = (datum)))
-+ obstack_1grow_fast (h, datum))
-
- # define obstack_ptr_grow(h,datum) \
- ( (((h)->next_free + sizeof (char *) > (h)->chunk_limit) \
- ? (_obstack_newchunk ((h), sizeof (char *)), 0) : 0), \
-- (*((char **) (((h)->next_free+=sizeof(char *))-sizeof(char *))) = ((char *) datum)))
-+ obstack_ptr_grow_fast (h, datum))
-
- # define obstack_int_grow(h,datum) \
- ( (((h)->next_free + sizeof (int) > (h)->chunk_limit) \
- ? (_obstack_newchunk ((h), sizeof (int)), 0) : 0), \
-- (*((int *) (((h)->next_free+=sizeof(int))-sizeof(int))) = ((int) datum)))
-+ obstack_int_grow_fast (h, datum))
-+
-+# define obstack_ptr_grow_fast(h,aptr) \
-+ (((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr))
-
--# define obstack_ptr_grow_fast(h,aptr) (*((char **) (h)->next_free)++ = (char *) aptr)
--# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
-+# define obstack_int_grow_fast(h,aint) \
-+ (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr))
-
- # define obstack_blank(h,length) \
- ( (h)->temp = (length), \
- (((h)->chunk_limit - (h)->next_free < (h)->temp) \
- ? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \
-- ((h)->next_free += (h)->temp))
-+ obstack_blank_fast (h, (h)->temp))
-
- # define obstack_alloc(h,length) \
- (obstack_blank ((h), (length)), obstack_finish ((h)))
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/gdb-armulator/gdb-armulator-5.0.ebuild,v 1.4 2011/03/27 10:25:17 nirbheek Exp $
-
-EAPI="1"
-
-inherit flag-o-matic eutils
-
-export CTARGET="arm-elf"
-
-STAMP=20021127
-DESCRIPTION="emulate armnommu/uClinux in GDB"
-HOMEPAGE="http://www.uclinux.org/pub/uClinux/utilities/armulator/"
-SRC_URI="http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.bz2
- http://www.uclinux.org/pub/uClinux/utilities/armulator/gdb-${PV}.tar.bz2
- http://www.uclinux.org/pub/uClinux/utilities/armulator/gdb-${PV}-uclinux-armulator-${STAMP}.patch.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="-amd64 ~x86"
-IUSE="nls"
-RESTRICT="test"
-
-RDEPEND="sys-libs/ncurses
- media-libs/freetype
- x11-libs/gtk+:2
- dev-libs/glib:2
- x11-libs/pango"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- dev-util/pkgconfig"
-
-S=${WORKDIR}/gdb-${PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/gdb-${PV}-uclinux-armulator-${STAMP}.patch
- epatch "${FILESDIR}"/${P}-objstack.patch #211463
- strip-linguas -u bfd/po opcodes/po
-
- # add a wrapper to fake gtk-1 with gtk-2
- mkdir "${T}"/path
- cp "${FILESDIR}"/gtk-config "${T}"/path/
-}
-
-src_compile() {
- export PATH=${T}/path:${PATH}
- replace-flags -O? -O2
- econf \
- --disable-werror \
- $(use_enable nls) \
- || die
- emake || die
-}
-
-src_install() {
- newbin gdb/gdb ${PN} || die
-}
-
-pkg_postinst() {
- elog "For instructions on how to use this emulator, please see:"
- elog " ${HOMEPAGE}"
-}