From e10b9e98fac83053e783abb265b4b106feb21991 Mon Sep 17 00:00:00 2001 From: Travis Tilley Date: Fri, 7 May 2004 12:38:11 +0000 Subject: added patch to ignore linker warning when searching for 64bit libraries in /lib and marked stable on amd64 --- dev-util/dejagnu/ChangeLog | 9 ++++- dev-util/dejagnu/Manifest | 7 +++- dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild | 43 ++++++++++++++++++++++ .../dejagnu/files/dejagnu-ignore-libwarning.patch | 23 ++++++++++++ dev-util/dejagnu/files/digest-dejagnu-1.4.4-r1 | 1 + 5 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild create mode 100644 dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch create mode 100644 dev-util/dejagnu/files/digest-dejagnu-1.4.4-r1 diff --git a/dev-util/dejagnu/ChangeLog b/dev-util/dejagnu/ChangeLog index d54630d456c9..80d0d8fa1ac0 100644 --- a/dev-util/dejagnu/ChangeLog +++ b/dev-util/dejagnu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/dejagnu # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/ChangeLog,v 1.4 2004/03/01 11:27:14 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/ChangeLog,v 1.5 2004/05/07 12:38:11 lv Exp $ + +*dejagnu-1.4.4-r1 (07 May 2004) + + 07 May 2004; Travis Tilley + +files/dejagnu-ignore-libwarning.patch, +dejagnu-1.4.4-r1.ebuild: + added patch to ignore linker warning when searching for 64bit libraries in + /lib and marked stable on amd64 01 Mar 2004; David Holm dejagnu-1.4.4.ebuild: Added to ~ppc. diff --git a/dev-util/dejagnu/Manifest b/dev-util/dejagnu/Manifest index 84fb2391d869..073da3db4e90 100644 --- a/dev-util/dejagnu/Manifest +++ b/dev-util/dejagnu/Manifest @@ -1,4 +1,7 @@ -MD5 93db6813e2b5581355a1dc6951391f50 files/digest-dejagnu-1.4.4 66 -MD5 2daf31f8817c18fb57acd6f78fc68591 ChangeLog 715 +MD5 e07cc0d4e6c5bf87b40ee90a3568ea3b dejagnu-1.4.4-r1.ebuild 978 MD5 da59e3a49b77e2e6cd4280c0f0928a9c dejagnu-1.4.4.ebuild 881 +MD5 db1e95d8ee302704952638fdabc5317a ChangeLog 970 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 +MD5 93db6813e2b5581355a1dc6951391f50 files/digest-dejagnu-1.4.4 66 +MD5 413508443b9ee3853180b1e2b8ba5875 files/dejagnu-ignore-libwarning.patch 1129 +MD5 93db6813e2b5581355a1dc6951391f50 files/digest-dejagnu-1.4.4-r1 66 diff --git a/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild b/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild new file mode 100644 index 000000000000..200b0ebb452b --- /dev/null +++ b/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild,v 1.1 2004/05/07 12:38:11 lv Exp $ + +DESCRIPTION="DejaGnu is a 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="~x86 ~sparc ~mips ~ppc amd64" +IUSE="doc" + +DEPEND="virtual/glibc + dev-lang/tcl + dev-tcltk/expect" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/dejagnu-ignore-libwarning.patch +} + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && dohtml -r doc/html/ +} diff --git a/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch b/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch new file mode 100644 index 000000000000..f4af06e6ff89 --- /dev/null +++ b/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch @@ -0,0 +1,23 @@ +dejagnu/ChangeLog + * lib/target.exp (prune_warnings): Correct pic/PIC regexp. + Ignore incompatible library warning. + +Index: dejagnu/lib/target.exp +=================================================================== +RCS file: /cvs/src/src/dejagnu/lib/target.exp,v +retrieving revision 1.12 +diff -u -p -r1.12 target.exp +--- dejagnu/lib/target.exp 21 Apr 2002 08:47:07 -0000 1.12 ++++ dejagnu/lib/target.exp 9 Jun 2003 07:34:06 -0000 +@@ -279,7 +279,10 @@ proc prune_warnings { text } { + regsub -all "(^|\n)\[^\n\]*: warning: as it has already been specified\[^\n\]*" $text "" text + + # Cygwin cc1 warns about -fpic and -fPIC +- regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text ++ regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text ++ ++ # Ignore linker warning when searching 64bit libraries in /lib. ++ regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text + + # It might be tempting to get carried away and delete blank lines, etc. + # Just delete *exactly* what we're ask to, and that's it. diff --git a/dev-util/dejagnu/files/digest-dejagnu-1.4.4-r1 b/dev-util/dejagnu/files/digest-dejagnu-1.4.4-r1 new file mode 100644 index 000000000000..ff03787f0377 --- /dev/null +++ b/dev-util/dejagnu/files/digest-dejagnu-1.4.4-r1 @@ -0,0 +1 @@ +MD5 053f18fd5d00873de365413cab17a666 dejagnu-1.4.4.tar.gz 1080346 -- cgit v1.2.3-65-gdbad