Date: Tue, 27 Aug 2002 01:41:01 -0400 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-ports@freebsd.org Subject: security/pidentd compilation problem under -current Message-ID: <20020827014101.A8031@attbi.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827014101.A8031>