diff options
Diffstat (limited to 'chat/zephyr/patches/patch-ag')
-rw-r--r-- | chat/zephyr/patches/patch-ag | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chat/zephyr/patches/patch-ag b/chat/zephyr/patches/patch-ag new file mode 100644 index 00000000000..e51390446c6 --- /dev/null +++ b/chat/zephyr/patches/patch-ag @@ -0,0 +1,24 @@ +$NetBSD: patch-ag,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $ + +--- server/realm.c.orig 2001-02-27 05:51:07.000000000 +0100 ++++ server/realm.c +@@ -498,7 +498,7 @@ realm_init() + char list_file[128]; + char rlmprinc[ANAME_SZ+INST_SZ+REALM_SZ+3]; + +- sprintf(list_file, "%s/zephyr/%s", SYSCONFDIR, REALM_LIST_FILE); ++ sprintf(list_file, "%s/%s", SYSCONFDIR, REALM_LIST_FILE); + rlmnames = get_realm_lists(list_file); + if (!rlmnames) { + zdbug((LOG_DEBUG, "No other realms")); +@@ -1096,6 +1096,10 @@ realm_dump_realms(fp) + } + + #ifdef HAVE_KRB4 ++#ifdef ERROR_TABLE_BASE_krb ++#define krb_err_base ERROR_TABLE_BASE_krb ++#endif ++ + static void + realm_sendit_auth(notice, who, auth, realm, ack_to_sender) + ZNotice_t *notice; |