From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 11 15:30:32 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF57116A4D9 for ; Wed, 11 Aug 2004 15:30:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD90C43D1F for ; Wed, 11 Aug 2004 15:30:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7BFUVNK018071 for ; Wed, 11 Aug 2004 15:30:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7BFUVT6018070; Wed, 11 Aug 2004 15:30:31 GMT (envelope-from gnats) Resent-Date: Wed, 11 Aug 2004 15:30:31 GMT Resent-Message-Id: <200408111530.i7BFUVT6018070@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Giorgos Keramidas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8036E16A4CE for ; Wed, 11 Aug 2004 15:30:27 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAF8443D2D for ; Wed, 11 Aug 2004 15:30:26 +0000 (GMT) (envelope-from keramida@bytemobile.com) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])i7BFUF9x010302 for ; Wed, 11 Aug 2004 18:30:22 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i7BFTvHQ056891 for ; Wed, 11 Aug 2004 18:29:57 +0300 (EEST) (envelope-from keramida@orion.daedalusnetworks.priv) Received: (from keramida@localhost)i7BFTv5l056890; Wed, 11 Aug 2004 18:29:57 +0300 (EEST) (envelope-from keramida) Message-Id: <200408111529.i7BFTv5l056890@orion.daedalusnetworks.priv> Date: Wed, 11 Aug 2004 18:29:57 +0300 (EEST) From: Giorgos Keramidas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70305: Unbreak build of dns/adns on CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 15:30:32 -0000 >Number: 70305 >Category: ports >Synopsis: Unbreak build of dns/adns on CURRENT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 11 15:30:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Giorgos Keramidas >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD orion.daedalusnetworks.priv 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Aug 11 14:30:30 EEST 2004 root@orion.daedalusnetworks.priv:/usr/obj/usr/src/sys/ORION i386 >Description: The ethereal port depends on dns/adns which fails to build on today's CURRENT. The cause of the failure is an obvious bug in the prototype of a C function in the adns sources. >How-To-Repeat: # cd /usr/ports/dns/adns # make [...] cc -O -pipe -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -c -o parse.o parse.c parse.c:115: error: conflicting types for 'adns__parse_domain' internal.h:571: error: previous declaration of 'adns__parse_domain' was here parse.c:115: error: conflicting types for 'adns__parse_domain' internal.h:571: error: previous declaration of 'adns__parse_domain' was here gmake[1]: *** [parse.o] Error 1 gmake[1]: Leaving directory `/home/ports/dns/adns/work/adns-1.0/src' gmake: *** [all] Error 2 >Fix: Putting the following patch in ports/dns/adns/files/patch-zz-local fixes the build for me, by making the definition of adns__parse_domain() similar to its prototype in the internal.h header. %% --- src/parse.c.orig Wed Aug 11 18:19:45 2004 +++ src/parse.c Wed Aug 11 18:20:19 2004 @@ -111,7 +111,7 @@ } 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; %% >Release-Note: >Audit-Trail: >Unformatted: