Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: usr.bin/login/login.c doesn't compile
On Mon, Apr 23, 2012 at 12:56:01PM +0200, Martin Husemann wrote:
> Did you set something special in mk.conf or your environment to avoid
> KERBEROS5?
Yep, "MKKERBEROS= no" in /etc/mk.conf
>
> In the default build it works, but #ifdef KERBEROS5 is used inconsistently
> in the source file.
After having sent the mail I realized that applying the following patch makes
login.c compile:
Index: login.c
===================================================================
RCS file: /cvsroot/src/usr.bin/login/login.c,v
retrieving revision 1.99
diff -u -u -r1.99 login.c
--- login.c 22 Apr 2012 23:26:19 -0000 1.99
+++ login.c 23 Apr 2012 11:05:05 -0000
@@ -119,12 +119,12 @@
#if defined(KERBEROS5)
int has_ccache = 0;
static int notickets = 1;
-static char *instance;
extern krb5_context kcontext;
extern int have_forward;
extern char *krb5tkfile_env;
extern int krb5_configured;
#endif
+static char *instance;
#if defined(KERBEROS5)
#define KERBEROS_CONFIGURED krb5_configured
Kurt
Home |
Main Index |
Thread Index |
Old Index