From owner-freebsd-ports Mon Aug 26 21:24:12 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F1C337B655 for ; Mon, 26 Aug 2002 21:24:07 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A55543E65 for ; Mon, 26 Aug 2002 21:24:01 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.5/8.12.5) with ESMTP id g7R5f2CY008044 for ; Tue, 27 Aug 2002 01:41:03 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.5/8.12.5/Submit) id g7R5f2Gj008043 for freebsd-ports@freebsd.org; Tue, 27 Aug 2002 01:41:02 -0400 (EDT) Date: Tue, 27 Aug 2002 01:41:01 -0400 From: Craig Rodrigues To: freebsd-ports@freebsd.org Subject: security/pidentd compilation problem under -current Message-ID: <20020827014101.A8031@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am new to FreeBSD ports. Under -current, when I tried to compile security/pidentd, I got the following error: ============================================================================= cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -DFREEBSD -DINCLUDE_EXTENSIONS -D STRONG_LOG -DALLOW_FORMAT -DINET6 -D__ss_family=ss_family -D__ss_len=ss_len -DP ATH_CONFIG='"/usr/local/etc/identd.conf"' -DPATH_DESKEY='"/usr/local/etc/identd .key"' -DHAVE_KVM -c freebsd.c In file included from freebsd.c:4: freebsd-sysctl.c: In function `k_getuid': freebsd-sysctl.c:20: storage size of `uc' isn't known *** Error code 1 ============================================================================= This fixed it: --- work/pidentd-2.8.5/src/freebsd-sysctl.c.before Tue Aug 27 01:22:33 2002 +++ work/pidentd-2.8.5/src/freebsd-sysctl.c Tue Aug 27 01:22:58 2002 @@ -17,7 +17,7 @@ int lport, int *uid) { struct sockaddr_in sin[2]; struct sockaddr_in6 sin6[2]; - struct ucred uc; + struct xucred uc; size_t oldlen = sizeof(uc); struct sockaddr *sa; int salen; How can I make a proper diff to submit it to the port maintainer? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message