]> git.pld-linux.org Git - packages/inn.git/blob - inn-db3.patch
- release 11
[packages/inn.git] / inn-db3.patch
1 --- inn-2.3.1/configure.in.orig Sun Jan 21 04:29:26 2001
2 +++ inn-2.3.1/configure.in      Sun Jan 21 04:40:55 2001
3 @@ -750,8 +750,9 @@
4  dnl Some of the authentication programs want to be able to open dbm files.
5  dnl
6  dnl FIXME: These conflict.  What order should they really be in?
7 -AC_CHECK_LIB(dbm, dbm_open, DBM_LIB="-ldbm")
8 -AC_CHECK_LIB(ndbm, dbm_open, DBM_LIB="-lndbm")
9 +dnl AC_CHECK_LIB(dbm, dbm_open, DBM_LIB="-ldbm")
10 +dnl AC_CHECK_LIB(ndbm, dbm_open, DBM_LIB="-lndbm")
11 +DBM_LIB="-ldb"
12  AC_SUBST(DBM_LIB)
13  
14  dnl Libraries and flags for embedded Perl.  Some distributions of Linux have
15 @@ -955,14 +956,9 @@
16  
17  dnl Generic checks for header files.
18  dnl NOTUSED: sys/file.h sys/ioctl.h
19 -AC_CHECK_HEADERS(crypt.h fcntl.h limits.h ndbm.h stddef.h stdint.h \
20 +AC_CHECK_HEADERS(crypt.h fcntl.h limits.h stddef.h stdint.h \
21                   sys/bitypes.h sys/file.h sys/filio.h sys/ioctl.h \
22                   sys/select.h sys/sysinfo.h sys/time.h unistd.h)
23 -
24 -dnl Some Linux systems have db1/ndbm.h instead of ndbm.h.
25 -if test x"$ac_cv_header_ndbm_h" = xno ; then
26 -    AC_CHECK_HEADERS(db1/ndbm.h)
27 -fi
28  
29  dnl Checks for typedefs, structures, and compiler characteristics.
30  AC_STRUCT_ST_BLKSIZE
31 --- inn-2.3.1/authprogs/ckpasswd.c~     Thu Jan 11 09:55:23 2001
32 +++ inn-2.3.1/authprogs/ckpasswd.c      Sun Jan 21 04:37:54 2001
33 @@ -14,13 +14,8 @@
34  # include <fcntl.h>
35  #endif
36  
37 -#ifdef HAVE_NDBM_H
38 -# include <ndbm.h>
39 -#else
40 -# ifdef HAVE_DB1_NDBM_H
41 -#  include <db1/ndbm.h>
42 -# endif
43 -#endif
44 +#define DB_DBM_HSEARCH 1
45 +#include <db.h>
46  
47  #ifdef HAVE_GETSPNAM
48  # include <shadow.h>
This page took 0.02908 seconds and 3 git commands to generate.