]> git.pld-linux.org Git - packages/apache.git/blob - apache-db3.patch
- release 2.
[packages/apache.git] / apache-db3.patch
1 diff -Nur apache_1.3.17.orig/src/helpers/find-dbm-lib apache_1.3.17/src/helpers/find-dbm-lib
2 --- apache_1.3.17.orig/src/helpers/find-dbm-lib Wed Dec 13 00:24:03 2000
3 +++ apache_1.3.17/src/helpers/find-dbm-lib      Wed Feb  7 23:17:03 2001
4 @@ -17,6 +17,8 @@
5                     DBM_LIB="-ldbm"
6                 elif ./helpers/TestCompile lib ndbm dbm_open; then
7                     DBM_LIB="-lndbm"
8 +               elif ./helpers/TestCompile lib db __db_ndbm_open; then
9 +                   DBM_LIB="-ldb"
10                 elif ./helpers/TestCompile lib db1 dbm_open; then
11                     # For Red Hat 7
12                     DBM_LIB="-ldb1"
13 diff -Nur apache_1.3.17.orig/src/modules/standard/mod_auth_dbm.c apache_1.3.17/src/modules/standard/mod_auth_dbm.c
14 --- apache_1.3.17.orig/src/modules/standard/mod_auth_dbm.c      Wed Feb  7 23:10:02 2001
15 +++ apache_1.3.17/src/modules/standard/mod_auth_dbm.c   Wed Feb  7 23:14:06 2001
16 @@ -82,7 +82,8 @@
17  #define dbm_close sdbm_close
18  #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
19      && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
20 -#include <db1/ndbm.h>
21 +#define DB_DBM_HSEARCH 1
22 +#include <db.h>
23  #else
24  #include <ndbm.h>
25  #endif
26 diff -Nur apache_1.3.17.orig/src/modules/standard/mod_rewrite.h apache_1.3.17/src/modules/standard/mod_rewrite.h
27 --- apache_1.3.17.orig/src/modules/standard/mod_rewrite.h       Thu Jan 18 23:31:44 2001
28 +++ apache_1.3.17/src/modules/standard/mod_rewrite.h    Wed Feb  7 23:15:22 2001
29 @@ -132,7 +132,8 @@
30  #ifndef NO_DBM_REWRITEMAP
31  #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
32      && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
33 -#include <db1/ndbm.h>
34 +#define DB_DBM_HSEARCH 1
35 +#include <db.h>
36  #else
37  #include <ndbm.h>
38  #endif
This page took 0.067936 seconds and 3 git commands to generate.