From: Jan Rękorajski Date: Tue, 26 Sep 2000 17:28:39 +0000 (+0000) Subject: - fix db compilation on glibc 2.2 X-Git-Tag: apache-1_3_12-12 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=1862769f48c453e5bf7b9431c69918ad238e8c16;p=packages%2Fapache1.git - fix db compilation on glibc 2.2 Changed files: apache-db3.patch -> 1.1 --- diff --git a/apache-db3.patch b/apache-db3.patch new file mode 100644 index 0000000..f1b7e47 --- /dev/null +++ b/apache-db3.patch @@ -0,0 +1,16 @@ +--- apache_1.3.12/src/modules/standard/mod_auth_dbm.c~ Mon Sep 25 20:50:01 2000 ++++ apache_1.3.12/src/modules/standard/mod_auth_dbm.c Mon Sep 25 21:05:00 2000 +@@ -75,8 +75,12 @@ + #include "http_log.h" + #include "http_protocol.h" + #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ +- && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 ++ && __GLIBC__ >= 2 && __GLIBC_MINOR__ == 1 + #include ++#elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ ++ && __GLIBC__ >= 2 && __GLIBC_MINOR__ == 2 ++#define DB_DBM_HSEARCH 1 ++#include + #else + #include + #endif