From 572703fcb0ec49bf056cfcb18b2a1bb4ef143969 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Apr 2004 04:36:35 +0000 Subject: gcc-3.4 patch #49239 --- net-libs/adns/ChangeLog | 5 ++++- net-libs/adns/adns-1.1.ebuild | 19 ++++++++++++------- net-libs/adns/files/1.1-gcc34.patch | 11 +++++++++++ 3 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 net-libs/adns/files/1.1-gcc34.patch (limited to 'net-libs') diff --git a/net-libs/adns/ChangeLog b/net-libs/adns/ChangeLog index 49155532bf7e..031df23e4ce3 100644 --- a/net-libs/adns/ChangeLog +++ b/net-libs/adns/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-libs/adns # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.9 2004/04/12 16:02:51 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.10 2004/04/28 04:36:35 vapier Exp $ + + 28 Apr 2004; Mike Frysinger : + Add gcc-3.4 patch #49239 by Robert Moss. 12 Apr 2004; Chris Aniszczyk adns-1.0.ebuild, adns-1.1.ebuild: diff --git a/net-libs/adns/adns-1.1.ebuild b/net-libs/adns/adns-1.1.ebuild index fafa407de15b..9f47d82220ee 100644 --- a/net-libs/adns/adns-1.1.ebuild +++ b/net-libs/adns/adns-1.1.ebuild @@ -1,26 +1,31 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.1.ebuild,v 1.5 2004/04/12 16:02:51 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.1.ebuild,v 1.6 2004/04/28 04:36:35 vapier Exp $ + +inherit eutils DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities" HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/" SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz" -SLOT="0" + LICENSE="LGPL-2" +SLOT="0" KEYWORDS="~x86 ~ppc ~sparc alpha hppa ~mips ia64 amd64" +IUSE="" + DEPEND="virtual/glibc" RDEPEND="" -IUSE="" -src_compile() { - econf || die - emake || die +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gcc34.patch } src_install () { dodir /usr/{include,bin,lib} make prefix=${D}/usr install || die - dodoc README GPL-vs-LGPL COPYING TODO + dodoc README TODO dohtml *.html cd ${D}/usr/lib diff --git a/net-libs/adns/files/1.1-gcc34.patch b/net-libs/adns/files/1.1-gcc34.patch new file mode 100644 index 000000000000..4f57ceebebc4 --- /dev/null +++ b/net-libs/adns/files/1.1-gcc34.patch @@ -0,0 +1,11 @@ +--- src/internal.h.old 2004-04-23 08:25:12.499229352 +0100 ++++ src/internal.h 2004-04-23 08:31:20.257321624 +0100 +@@ -574,7 +574,7 @@ + } parsedomain_flags; + + adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu, +- vbuf *vb, parsedomain_flags flags, ++ vbuf *vb, adns_queryflags flags, + const byte *dgram, int dglen, int *cbyte_io, + int max); + /* vb must already have been initialised; it will be reset if necessary. -- cgit v1.2.3-65-gdbad