ports/56332: didentd port will not build on 5.1R

Pat Lashley patl+freebsd at volant.org
Tue Sep 2 22:51:46 UTC 2003


>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:



More information about the freebsd-ports-bugs mailing list