Date: Tue, 02 Sep 2003 15:40:31 -0700 From: Pat Lashley <patl+freebsd@volant.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/56332: didentd port will not build on 5.1R Message-ID: <E19uJp9-0002AE-00@knight.volant.org> Resent-Message-ID: <200309022250.h82MoKt3059296@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56332 >Category: ports >Synopsis: didentd port will not build on 5.1R >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 02 15:50:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pat Lashley >Release: FreeBSD 5.1-RELEASE-P2 >Organization: Henry Davis Consulting >Environment: >Description: When attempting to build the didentd port on FreeBSD 5.1-R, it fails in get_info4.c and get_info6.c with a complaint that it does not know the size of variable 'uc'. >How-To-Repeat: On a 5.1-R system: cd /usr/ports/security/didentd make >Fix: The patch below adds a define for _WANT_UCRED before the #includes --- get_info4_freebsd.c.orig Sat Oct 13 22:57:15 2001 +++ get_info4_freebsd.c Tue Sep 2 15:25:23 2003 @@ -7,6 +7,7 @@ * */ +#define _WANT_UCRED 1 #include <sys/param.h> #include <sys/sysctl.h> #include <sys/socket.h> --- get_info6_freebsd.c.orig Tue Sep 2 15:22:44 2003 +++ get_info6_freebsd.c Tue Sep 2 15:25:55 2003 @@ -10,6 +10,7 @@ * */ +#define _WANT_UCRED 1 #include <unistd.h> /* for close */ #include <pwd.h> /* for getpwuid */ ----------------------------------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19uJp9-0002AE-00>