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'. Fix: The patch below adds a define for _WANT_UCRED before the #includes -------------------------------------------------------------------------0AmqA290eV8Ze6EwgQl1pMuTpurye3Iljba9Rgnl0CO1ez5e Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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 */ How-To-Repeat: On a 5.1-R system: cd /usr/ports/security/didentd make
Responsible Changed From-To: freebsd-ports-bugs->erwin I'll handle this
State Changed From-To: open->closed Committed, thanks!