summaryrefslogtreecommitdiff
path: root/security/didentd/files/patch-get_info6_freebsd.c
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-09-24 08:17:35 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-09-24 08:17:35 +0000
commit0ca18c714399eea73198483524d2f38fb027ad43 (patch)
treef3b05788d887e9d7f33954db1c872504adc7a0e6 /security/didentd/files/patch-get_info6_freebsd.c
parentuse reinplace instad of perl (diff)
Fix build on 5.x
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'. PR: 56332 Submitted by: Pat Lashley <patl+freebsd@volant.org> Approved by: maintainer timeout (3 weeks)
Notes
Notes: svn path=/head/; revision=89147
Diffstat (limited to 'security/didentd/files/patch-get_info6_freebsd.c')
-rw-r--r--security/didentd/files/patch-get_info6_freebsd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/didentd/files/patch-get_info6_freebsd.c b/security/didentd/files/patch-get_info6_freebsd.c
new file mode 100644
index 000000000000..f8ee55748c1e
--- /dev/null
+++ b/security/didentd/files/patch-get_info6_freebsd.c
@@ -0,0 +1,10 @@
+--- get_info6_freebsd.c.orig Fri Oct 12 14:27:48 2001
++++ get_info6_freebsd.c Thu Sep 4 17:01:19 2003
+@@ -10,6 +10,7 @@
+ *
+ */
+
++#define _WANT_UCRED 1
+ #include <unistd.h> /* for close */
+ #include <pwd.h> /* for getpwuid */
+