summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache/patches/patch-ar')
-rw-r--r--www/apache/patches/patch-ar22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/apache/patches/patch-ar b/www/apache/patches/patch-ar
new file mode 100644
index 00000000000..0a045bb6ff1
--- /dev/null
+++ b/www/apache/patches/patch-ar
@@ -0,0 +1,22 @@
+$NetBSD: patch-ar,v 1.1 2003/10/29 10:44:28 cube Exp $
+
+--- src/modules/standard/mod_rewrite.h.orig 2003-05-19 04:35:31.000000000 +0200
++++ src/modules/standard/mod_rewrite.h
+@@ -253,8 +253,6 @@
+
+ #define MAX_ENV_FLAGS 15
+
+-#define MAX_NMATCH 10
+-
+ /* default maximum number of internal redirects */
+ #define REWRITE_REDIRECT_LIMIT 10
+
+@@ -368,7 +366,7 @@ typedef struct cache {
+ typedef struct backrefinfo {
+ char *source;
+ int nsub;
+- regmatch_t regmatch[10];
++ regmatch_t regmatch[AP_MAX_REG_MATCH];
+ } backrefinfo;
+
+