diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-09 08:39:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-09 08:39:56 +0000 |
commit | 9f8ca7ce5633fc3afc4a2a529e6eb19cbb08a58c (patch) | |
tree | a52c24003ea07c96d9f69e89303a825537c2a735 /dev-util/dejagnu | |
parent | Masking modemmanager snapshot (diff) | |
download | gentoo-2-9f8ca7ce5633fc3afc4a2a529e6eb19cbb08a58c.tar.gz gentoo-2-9f8ca7ce5633fc3afc4a2a529e6eb19cbb08a58c.tar.bz2 gentoo-2-9f8ca7ce5633fc3afc4a2a529e6eb19cbb08a58c.zip |
Add fix from upstream for testing libgloss with testglue.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/dejagnu')
-rw-r--r-- | dev-util/dejagnu/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild | 38 | ||||
-rw-r--r-- | dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch | 21 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-util/dejagnu/ChangeLog b/dev-util/dejagnu/ChangeLog index c6da17603953..08f50186d0cc 100644 --- a/dev-util/dejagnu/ChangeLog +++ b/dev-util/dejagnu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/dejagnu # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/ChangeLog,v 1.19 2010/03/16 00:24:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/ChangeLog,v 1.20 2010/04/09 08:39:56 vapier Exp $ + +*dejagnu-1.4.4-r3 (09 Apr 2010) + + 09 Apr 2010; Mike Frysinger <vapier@gentoo.org> +dejagnu-1.4.4-r3.ebuild, + +files/dejagnu-1.4.4-testglue-protos.patch: + Add fix from upstream for testing libgloss with testglue. *dejagnu-1.4.4-r2 (16 Mar 2010) diff --git a/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild b/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild new file mode 100644 index 000000000000..727002edb7a1 --- /dev/null +++ b/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild,v 1.1 2010/04/09 08:39:56 vapier Exp $ + +inherit eutils + +DESCRIPTION="framework for testing other programs" +HOMEPAGE="http://www.gnu.org/software/dejagnu/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="doc" + +DEPEND="dev-lang/tcl + dev-tcltk/expect" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/dejagnu-ignore-libwarning.patch + epatch "${FILESDIR}"/${P}-rsh-username.patch + epatch "${FILESDIR}"/${P}-testglue-protos.patch +} + +src_test() { + # if you dont have dejagnu emerged yet, you cant + # run the tests ... crazy aint it :) + type -p runtest || return 0 + emake check || die "check failed :(" +} + +src_install() { + emake -j1 install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && dohtml -r doc/html/ +} diff --git a/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch new file mode 100644 index 000000000000..4ddaffb1c66d --- /dev/null +++ b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch @@ -0,0 +1,21 @@ +fix from upstream: + +2004-08-20 Daniel Jacobowitz <dan@debian.org> + + * testglue.c: Prototype abort(3) and exit(3). + +diff --git a/testglue.c b/testglue.c +index 55a7f92..4ede6eb 100644 +--- a/testglue.c ++++ b/testglue.c +@@ -40,6 +40,10 @@ + #define ORIG_ABORT __wrap_abort + #define ORIG_MAIN __wrap_main + #endif ++ ++extern void abort (void); ++extern void exit (int); ++ + #endif + + #ifdef REAL_MAIN |