]> git.pld-linux.org Git - packages/apache.git/blame - apache-db3.patch
- added EAPI-missing_files patch with all neccessary during compile files from
[packages/apache.git] / apache-db3.patch
CommitLineData
5ac679da
JR
1diff -urN apache_1.3.14.orig/src/modules/standard/mod_auth_dbm.c apache_1.3.14/src/modules/standard/mod_auth_dbm.c
2--- apache_1.3.14.orig/src/modules/standard/mod_auth_dbm.c Sat Nov 11 22:58:04 2000
3+++ apache_1.3.14/src/modules/standard/mod_auth_dbm.c Sat Nov 11 22:59:52 2000
4@@ -80,8 +80,12 @@
5 #define dbm_fetch sdbm_fetch
6 #define dbm_close sdbm_close
7 #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
e8297ff0
JR
8- && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
9+ && __GLIBC__ >= 2 && __GLIBC_MINOR__ == 1
10 #include <db1/ndbm.h>
11+#elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
5ac679da 12+ && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 2
e8297ff0
JR
13+#define DB_DBM_HSEARCH 1
14+#include <db.h>
15 #else
16 #include <ndbm.h>
17 #endif
This page took 0.068111 seconds and 4 git commands to generate.