]> git.pld-linux.org Git - packages/inn.git/blob - inn-db3.patch
- release 2
[packages/inn.git] / inn-db3.patch
1 diff -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>
22 diff -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  
28  dnl Some of the authentication programs want to be able to open dbm files.
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
35 +DBM_LIB="-ldb"
36  AC_SUBST(DBM_LIB)
37  
38  dnl Libraries and flags for embedded Perl.  Some distributions of Linux have
39 @@ -991,15 +986,10 @@
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)
47  
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
52 -
53  dnl Checks for typedefs, structures, and compiler characteristics.
54  AC_STRUCT_ST_BLKSIZE
55  AC_STRUCT_TM
This page took 0.068941 seconds and 3 git commands to generate.