]> git.pld-linux.org Git - packages/apache1.git/blame - apache-db3.patch
- apache/mm.* instead of apache.*
[packages/apache1.git] / apache-db3.patch
CommitLineData
32a6c32b
JB
1diff -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"
13diff -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 @@
500394d0
JR
17 #define dbm_close sdbm_close
18 #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
32a6c32b
JB
19 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
20-#include <db1/ndbm.h>
1862769f
JR
21+#define DB_DBM_HSEARCH 1
22+#include <db.h>
23 #else
24 #include <ndbm.h>
25 #endif
32a6c32b
JB
26diff -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 @@
d549ed75
AM
30 #ifndef NO_DBM_REWRITEMAP
31 #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
32a6c32b
JB
32 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
33-#include <db1/ndbm.h>
d549ed75
AM
34+#define DB_DBM_HSEARCH 1
35+#include <db.h>
36 #else
37 #include <ndbm.h>
38 #endif
This page took 0.096344 seconds and 4 git commands to generate.