On 15/11/2007, Adam Mercer <ram@macports.org> wrote:
--- src/input.c.orig 2005-10-05 15:31:25.000000000 -0400 +++ src/input.c 2007-11-07 21:59:37.000000000 -0500 @@ -56,7 +56,7 @@ #if 0 char *getpass_hook(const char *prompt) { -#ifdef KERBEROS +#ifdef HAVE_KERBEROS char tmp[80]; des_read_pw_string(tmp, sizeof(tmp), (char *)prompt, 0); tmp[79] = 0; @@ -74,13 +74,15 @@
/* this compiles ok now, fixes ctrl+c and doesn't use obsolete getpass() */
+#ifndef HAVE_KERBEROS # include <fcntl.h> # include <sys/ioctl.h> # include <termio.h> +#endif
char *getpass_hook(const char *prompt) { -#ifdef KERBEROS +#ifdef HAVE_KERBEROS char tmp[80]; des_read_pw_string(tmp, sizeof(tmp), (char *)prompt, 0);
I didn't need to apply this patch to get yafc to build, what error were you seeing to warrant needing this patch?
I see this patch is need for yafc-1.1.1 Cheers Adam