]> git.pld-linux.org Git - packages/inn.git/blame - inn-db3.patch
- release 2
[packages/inn.git] / inn-db3.patch
CommitLineData
03da3507
JB
1diff -Nur inn-2.3.3.orig/authprogs/ckpasswd.c inn-2.3.3/authprogs/ckpasswd.c
2--- inn-2.3.3.orig/authprogs/ckpasswd.c Mon May 6 08:02:07 2002
3+++ inn-2.3.3/authprogs/ckpasswd.c Thu May 9 22:29:51 2002
4@@ -14,15 +14,8 @@
5 # include <fcntl.h>
6 #endif
7
8-#if HAVE_DBM
9-# ifdef HAVE_NDBM_H
10-# include <ndbm.h>
11-# else
12-# ifdef HAVE_DB1_NDBM_H
13-# include <db1/ndbm.h>
14-# endif
15-# endif
16-#endif
17+#define DB_DBM_HSEARCH 1
18+#include <db.h>
19
20 #ifdef HAVE_GETSPNAM
21 # include <shadow.h>
22diff -Nur inn-2.3.3.orig/configure.in inn-2.3.3/configure.in
23--- inn-2.3.3.orig/configure.in Thu May 9 22:28:03 2002
24+++ inn-2.3.3/configure.in Thu May 9 22:29:23 2002
25@@ -762,12 +762,7 @@
26 AC_CHECK_LIB(regex, regexec)
27
f02d900e 28 dnl Some of the authentication programs want to be able to open dbm files.
03da3507
JB
29-inn_save_LIBS=$LIBS
30-LIBS=
31-AC_SEARCH_LIBS(dbm_open, ndbm dbm,
32- [DBM_LIB=$LIBS
33- AC_DEFINE(HAVE_DBM, 1, [Define if you have a dbm library.])])
34-LIBS=$inn_save_LIBS
f02d900e
JR
35+DBM_LIB="-ldb"
36 AC_SUBST(DBM_LIB)
37
38 dnl Libraries and flags for embedded Perl. Some distributions of Linux have
03da3507 39@@ -991,15 +986,10 @@
f02d900e
JR
40
41 dnl Generic checks for header files.
42 dnl NOTUSED: sys/file.h sys/ioctl.h
43-AC_CHECK_HEADERS(crypt.h fcntl.h limits.h ndbm.h stddef.h stdint.h \
44+AC_CHECK_HEADERS(crypt.h fcntl.h limits.h stddef.h stdint.h \
45 sys/bitypes.h sys/file.h sys/filio.h sys/ioctl.h \
46 sys/select.h sys/sysinfo.h sys/time.h unistd.h)
03da3507 47
f02d900e
JR
48-dnl Some Linux systems have db1/ndbm.h instead of ndbm.h.
49-if test x"$ac_cv_header_ndbm_h" = xno ; then
50- AC_CHECK_HEADERS(db1/ndbm.h)
51-fi
03da3507 52-
f02d900e
JR
53 dnl Checks for typedefs, structures, and compiler characteristics.
54 AC_STRUCT_ST_BLKSIZE
03da3507 55 AC_STRUCT_TM
This page took 0.606147 seconds and 4 git commands to generate.