summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-10-02 19:27:06 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-10-02 19:27:06 +0000
commit308ecee84d9cd2ea03ad71d6d4bfcb0210e58bd1 (patch)
treef94e3482c84019cbf59d1a357ac619d7dff5becc /net-libs/adns
parentVersion bump. Preview release of the upcoming 0.9.8.1. (Manifest recommit) (diff)
downloadgentoo-2-308ecee84d9cd2ea03ad71d6d4bfcb0210e58bd1.tar.gz
gentoo-2-308ecee84d9cd2ea03ad71d6d4bfcb0210e58bd1.tar.bz2
gentoo-2-308ecee84d9cd2ea03ad71d6d4bfcb0210e58bd1.zip
Add gcc-3.4 patch from bug 66034.
Diffstat (limited to 'net-libs/adns')
-rw-r--r--net-libs/adns/ChangeLog6
-rw-r--r--net-libs/adns/adns-1.0.ebuild10
-rw-r--r--net-libs/adns/files/adns-gcc34.patch11
3 files changed, 25 insertions, 2 deletions
diff --git a/net-libs/adns/ChangeLog b/net-libs/adns/ChangeLog
index 7c96bcdc8f69..4183db600dc0 100644
--- a/net-libs/adns/ChangeLog
+++ b/net-libs/adns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/adns
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.13 2004/07/21 02:35:03 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.14 2004/10/02 19:27:06 kloeri Exp $
+
+ 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> +files/adns-gcc34.patch,
+ adns-1.0.ebuild:
+ Add gcc-3.4 patch from bug 66034.
20 Jul 2004; Tom Gall <tgall@gentoo.org> adns-1.1.ebuild:
stable on ppc64, bug #57164
diff --git a/net-libs/adns/adns-1.0.ebuild b/net-libs/adns/adns-1.0.ebuild
index 20a099234dd2..8d854b80804f 100644
--- a/net-libs/adns/adns-1.0.ebuild
+++ b/net-libs/adns/adns-1.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.0.ebuild,v 1.12 2004/06/24 23:10:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.0.ebuild,v 1.13 2004/10/02 19:27:06 kloeri Exp $
+
+inherit eutils
DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
@@ -12,6 +14,12 @@ IUSE=""
DEPEND=""
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/adns-gcc34.patch
+}
+
src_compile() {
./configure --prefix=/usr --host=${CHOST} || die
make || die
diff --git a/net-libs/adns/files/adns-gcc34.patch b/net-libs/adns/files/adns-gcc34.patch
new file mode 100644
index 000000000000..ffa4e9e647b7
--- /dev/null
+++ b/net-libs/adns/files/adns-gcc34.patch
@@ -0,0 +1,11 @@
+--- src/parse.c.orig 2000-09-17 02:24:24.000000000 +0200
++++ src/parse.c 2004-10-02 20:22:33.081002552 +0200
+@@ -111,7 +111,7 @@ adns_status adns__findlabel_next(findlab
+ }
+
+ adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
+- vbuf *vb, adns_queryflags flags,
++ vbuf *vb, parsedomain_flags flags,
+ const byte *dgram, int dglen, int *cbyte_io, int max) {
+ findlabel_state fls;
+