]> git.pld-linux.org Git - packages/inn.git/blob - inn-db.patch
replace R /etc/cron.d with crondaemon
[packages/inn.git] / inn-db.patch
1 --- inn-2.4.4/authprogs/ckpasswd.c.orig 2008-05-05 12:18:36.000000000 +0200
2 +++ inn-2.4.4/authprogs/ckpasswd.c      2008-06-12 23:17:16.157845226 +0200
3 @@ -26,11 +26,11 @@
4  #include <grp.h>
5  
6  #if defined(HAVE_DBM) || defined(HAVE_BDB_DBM)
7 -# if HAVE_NDBM_H
8 -#  include <ndbm.h>
9 -# elif HAVE_BDB_DBM
10 +# if HAVE_BDB_DBM
11  #  define DB_DBM_HSEARCH 1
12  #  include <db.h>
13 +# elif HAVE_NDBM_H
14 +#  include <ndbm.h>
15  # elif HAVE_GDBM_NDBM_H
16  #  include <gdbm-ndbm.h>
17  # elif HAVE_DB1_NDBM_H
18 --- inn-2.5.3/m4/berkeleydb.m4.orig     2013-06-11 21:16:28.320439059 +0200
19 +++ inn-2.5.3/m4/berkeleydb.m4  2013-06-11 20:36:38.617155533 +0200
20 @@ -33,8 +33,13 @@
21      if test x"$DB_DIR" = xyes ; then
22          AC_MSG_ERROR([cannot find Berkeley DB])
23      else
24 +       if test x"$DB_DIR" = x"/usr" ; then
25 +       DB_CPPFLAGS=
26 +       DB_LDFLAGS=
27 +       else
28          DB_CPPFLAGS="-I$DB_DIR/include"
29          DB_LDFLAGS="-L$DB_DIR/lib"
30 +       fi
31          DB_LIBS="-ldb"
32          AC_MSG_RESULT([$DB_DIR])
33      fi
34 --- inn-2.5.3/configure.ac.orig 2013-06-11 21:17:03.440438325 +0200
35 +++ inn-2.5.3/configure.ac      2013-06-11 21:47:46.747066572 +0200
36 @@ -384,10 +384,6 @@
37                    stdint.h string.h sys/bitypes.h sys/filio.h sys/loadavg.h \
38                    sys/select.h sys/time.h unistd.h])
39  
40 -dnl Some Linux systems have db1/ndbm.h instead of ndbm.h.  Others have
41 -dnl gdbm-ndbm.h.
42 -AC_CHECK_HEADERS([ndbm.h db1/ndbm.h gdbm-ndbm.h], [break])
43 -
44  dnl Check for whether various symbols are declared.
45  AC_CHECK_DECLS([pread, pwrite, snprintf, setproctitle, strlcat,
46                  strlcpy, vsnprintf])
This page took 0.055838 seconds and 3 git commands to generate.