Bug 56332 - didentd port will not build on 5.1R
Summary: didentd port will not build on 5.1R
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Erwin Lansing
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 23:50 UTC by Pat Lashley
Modified: 2003-09-24 09:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Lashley 2003-09-02 23:50:20 UTC
	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
Comment 1 Erwin Lansing freebsd_committer freebsd_triage 2003-09-04 16:02:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->erwin

I'll handle this
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2003-09-24 09:17:46 UTC
State Changed
From-To: open->closed

Committed, thanks!