mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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)
This commit is contained in:
parent
a48e8aef24
commit
0ca18c7143
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89147
10
security/didentd/files/patch-get_info4_freebsd.c
Normal file
10
security/didentd/files/patch-get_info4_freebsd.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- get_info4_freebsd.c.orig Sun Oct 14 07:57:15 2001
|
||||
+++ get_info4_freebsd.c Thu Sep 4 17:00:32 2003
|
||||
@@ -7,6 +7,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+#define _WANT_UCRED 1
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/socket.h>
|
10
security/didentd/files/patch-get_info6_freebsd.c
Normal file
10
security/didentd/files/patch-get_info6_freebsd.c
Normal file
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user