diff options
author | erwin <erwin@FreeBSD.org> | 2003-09-24 16:17:35 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-09-24 16:17:35 +0800 |
commit | 217b0cc2417eb41e702d31c0a7b564752bfe9da9 (patch) | |
tree | 9b4e0532db7f019c87dffc819ca261ab9dbd4013 /security/didentd | |
parent | b3ae81637643656dc4076aec315cd9d7e30d80f6 (diff) | |
download | freebsd-ports-gnome-217b0cc2417eb41e702d31c0a7b564752bfe9da9.tar.gz freebsd-ports-gnome-217b0cc2417eb41e702d31c0a7b564752bfe9da9.tar.zst freebsd-ports-gnome-217b0cc2417eb41e702d31c0a7b564752bfe9da9.zip |
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)
Diffstat (limited to 'security/didentd')
-rw-r--r-- | security/didentd/files/patch-get_info4_freebsd.c | 10 | ||||
-rw-r--r-- | security/didentd/files/patch-get_info6_freebsd.c | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/security/didentd/files/patch-get_info4_freebsd.c b/security/didentd/files/patch-get_info4_freebsd.c new file mode 100644 index 000000000000..90a8b511cb81 --- /dev/null +++ b/security/didentd/files/patch-get_info4_freebsd.c @@ -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> 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 */ + |