diff options
author | Cy Schubert <cy@FreeBSD.org> | 2011-11-16 21:13:03 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2011-11-16 21:13:03 +0000 |
commit | e77de6bf9e37fde334fea93baa00f1eeac722cfe (patch) | |
tree | 78a3df78fe70426d15187364d8e20d2372c0b721 /security/krb5-appl/files | |
parent | 770d2118f1c0296cbfcf069e580a6b3338f8a4b1 (diff) |
Update 1.0.1 --> 1.0.2
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=285934
Diffstat (limited to 'security/krb5-appl/files')
-rw-r--r-- | security/krb5-appl/files/patch-bsd-krshd.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/krb5-appl/files/patch-bsd-krshd.c b/security/krb5-appl/files/patch-bsd-krshd.c new file mode 100644 index 000000000000..f15bf6c523a5 --- /dev/null +++ b/security/krb5-appl/files/patch-bsd-krshd.c @@ -0,0 +1,13 @@ +--- bsd/krshd.c.orig 2011-07-11 12:31:31.000000000 -0700 ++++ bsd/krshd.c 2011-11-16 13:01:40.184757547 -0800 +@@ -174,6 +174,10 @@ + #ifdef HAVE_UTMP_H + #include <utmp.h> + #endif ++#ifdef HAVE_UTMPX_H ++#include <utmpx.h> ++#define UT_NAMESIZE sizeof(((struct utmpx *)0)->ut_user) ++#endif + + #ifndef UT_NAMESIZE /* linux defines it directly in <utmp.h> */ + #define UT_NAMESIZE sizeof(((struct utmp *)0)->ut_name) |