From: Arkadiusz Miƛkiewicz Date: Fri, 2 Feb 2001 14:42:44 +0000 (+0000) Subject: fix mod_rewrite, too X-Git-Tag: apache-1_3_17-1~6 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=d269f13e8d422323c2538b7d8165c559d54ec588;p=packages%2Fapache.git fix mod_rewrite, too Changed files: apache-db3.patch -> 1.3 --- diff --git a/apache-db3.patch b/apache-db3.patch index bf6f6a8..31ac749 100644 --- a/apache-db3.patch +++ b/apache-db3.patch @@ -1,7 +1,7 @@ -diff -urN apache_1.3.14.orig/src/modules/standard/mod_auth_dbm.c apache_1.3.14/src/modules/standard/mod_auth_dbm.c ---- apache_1.3.14.orig/src/modules/standard/mod_auth_dbm.c Sat Nov 11 22:58:04 2000 -+++ apache_1.3.14/src/modules/standard/mod_auth_dbm.c Sat Nov 11 22:59:52 2000 -@@ -80,8 +80,12 @@ +diff -urN apache_1.3.17.org/src/modules/standard/mod_auth_dbm.c apache_1.3.17/src/modules/standard/mod_auth_dbm.c +--- apache_1.3.17.org/src/modules/standard/mod_auth_dbm.c Fri Feb 2 15:29:26 2001 ++++ apache_1.3.17/src/modules/standard/mod_auth_dbm.c Fri Feb 2 15:29:38 2001 +@@ -81,8 +81,12 @@ #define dbm_fetch sdbm_fetch #define dbm_close sdbm_close #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ @@ -15,3 +15,20 @@ diff -urN apache_1.3.14.orig/src/modules/standard/mod_auth_dbm.c apache_1.3.14/s #else #include #endif +diff -urN apache_1.3.17.org/src/modules/standard/mod_rewrite.h apache_1.3.17/src/modules/standard/mod_rewrite.h +--- apache_1.3.17.org/src/modules/standard/mod_rewrite.h Fri Feb 2 15:29:26 2001 ++++ apache_1.3.17/src/modules/standard/mod_rewrite.h Fri Feb 2 15:31:21 2001 +@@ -131,8 +131,12 @@ + */ + #ifndef NO_DBM_REWRITEMAP + #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