Daniel Jacobowitz wrote: > As far as I understand it. > > I patch it about a year ago and got a local install, but I remember > disliking my patches, so I never submitted them, and now they seem to > be lost :( I'd appreciate if you could post them.
Nothing fancy at all, just some fixes to configure.in et al because ndbm.h is in /usr/include/db1 on Debian. The patch is very debian-specific (or glibc2-specific?), and should probably be made more generic so it looks first in the default include path and then in /usr/include/db1, before sending it upstream to KTH. I still have one unresolved error: lib/krb/libkrb.so: undefined reference to `__va_arg_type_violation' Any ideas? TIA, Adam Powell http://lyre.mit.edu/~powell/ Thomas B. King Assistant Professor of Materials Engineering 77 Massachusetts Ave. Rm. 4-117 Phone (617) 452-2086 Cambridge, MA 02139 USA Fax (617) 253-5418
--- configure.in~ Mon Jun 8 11:23:11 1998 +++ configure.in Sat Dec 11 22:17:34 1999 @@ -463,7 +463,7 @@ AC_CHECK_HEADERS(arpa/ftp.h arpa/inet.h arpa/nameser.h) AC_CHECK_HEADERS(arpa/telnet.h bsd/bsd.h bsdsetjmp.h) AC_CHECK_HEADERS(crypt.h curses.h dbm.h dirent.h err.h errno.h fcntl.h grp.h) -AC_CHECK_HEADERS(inttypes.h io.h lastlog.h limits.h login.h maillock.h ndbm.h net/if.h) +AC_CHECK_HEADERS(inttypes.h io.h lastlog.h limits.h login.h maillock.h db1/ndbm.h net/if.h) AC_CHECK_HEADERS(net/if_tun.h net/if_var.h netdb.h netinet/in.h) AC_CHECK_HEADERS(netinet/in6_machtypes.h netinet/in_systm.h) AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h paths.h pty.h pwd.h) --- aclocal.m4~ Mon Jun 8 11:39:26 1998 +++ aclocal.m4 Sun Dec 12 13:20:22 1999 @@ -110,7 +110,7 @@ AC_TRY_RUN([ #include <unistd.h> #include <fcntl.h> -#include <ndbm.h> +#include <db1/ndbm.h> int main() { DBM *d; --- cf/krb-find-db.m4~ Thu Jun 4 01:19:57 1998 +++ cf/krb-find-db.m4 Sat Dec 11 22:14:17 1999 @@ -26,7 +26,7 @@ AC_TRY_RUN([ #include <unistd.h> #include <fcntl.h> -#include <ndbm.h> +#include <db1/ndbm.h> int main() { DBM *d; --- include/config.h.in~ Sun Dec 12 13:19:26 1999 +++ include/config.h.in Sun Dec 12 14:32:59 1999 @@ -627,8 +627,8 @@ /* Define if you have the <maillock.h> header file. */ #undef HAVE_MAILLOCK_H -/* Define if you have the <ndbm.h> header file. */ -#undef HAVE_NDBM_H +/* Define if you have the <db1/ndbm.h> header file. */ +#undef HAVE_DB1_NDBM_H /* Define if you have the <net/if.h> header file. */ #undef HAVE_NET_IF_H --- lib/roken/xdbm.h~ Tue Apr 1 03:19:16 1997 +++ lib/roken/xdbm.h Sun Dec 12 09:55:52 1999 @@ -43,8 +43,8 @@ #ifndef __XDBM_H__ #define __XDBM_H__ -#ifdef HAVE_NDBM_H -#include <ndbm.h> +#ifdef HAVE_DB1_NDBM_H +#include <db1/ndbm.h> #elif defined(HAVE_DBM_H) #include <dbm.h> #elif defined(HAVE_RPCSVC_DBM_H)