]> git.pld-linux.org Git - packages/apache.git/blob - apache-db3.patch
- fix db compilation on glibc 2.2
[packages/apache.git] / apache-db3.patch
1 --- apache_1.3.12/src/modules/standard/mod_auth_dbm.c~  Mon Sep 25 20:50:01 2000
2 +++ apache_1.3.12/src/modules/standard/mod_auth_dbm.c   Mon Sep 25 21:05:00 2000
3 @@ -75,8 +75,12 @@
4  #include "http_log.h"
5  #include "http_protocol.h"
6  #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
7 -    && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
8 +    && __GLIBC__ >= 2 && __GLIBC_MINOR__ == 1
9  #include <db1/ndbm.h>
10 +#elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
11 +    && __GLIBC__ >= 2 && __GLIBC_MINOR__ == 2
12 +#define DB_DBM_HSEARCH 1
13 +#include <db.h>
14  #else
15  #include <ndbm.h>
16  #endif
This page took 0.118223 seconds and 4 git commands to generate.