summaryrefslogtreecommitdiff
path: root/www/ap-fastcgi/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-29 13:35:30 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-29 13:35:30 +0000
commit8a85c407d90998c6c5c23cd90e76e396fecf8731 (patch)
treef81d52f18ebe5a088e3c2b83cb65af3cf8394720 /www/ap-fastcgi/patches
parent9110460f922659200df6e3fb3fd2c5f841a01077 (diff)
downloadpkgsrc-8a85c407d90998c6c5c23cd90e76e396fecf8731.tar.gz
Fix build of Apache 1.3 module. From PR 35317 by b1ff@fr33.b33r.net.
Diffstat (limited to 'www/ap-fastcgi/patches')
-rw-r--r--www/ap-fastcgi/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/ap-fastcgi/patches/patch-aa b/www/ap-fastcgi/patches/patch-aa
index ff80cb8a8f5..5f54c0ee0d0 100644
--- a/www/ap-fastcgi/patches/patch-aa
+++ b/www/ap-fastcgi/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2006/12/18 12:39:45 abs Exp $
+$NetBSD: patch-aa,v 1.3 2006/12/29 13:35:30 joerg Exp $
--- fcgi.h.orig 2003-02-03 23:07:37.000000000 +0000
+++ fcgi.h
@@ -55,7 +55,7 @@ $NetBSD: patch-aa,v 1.2 2006/12/18 12:39:45 abs Exp $
+/* starting with apache 2.2 the backward-compatibility defines for
+ * 1.3 APIs are not available anymore. Define them ourselves here.
+ */
-+#ifndef ap_copy_table
++#if defined(APACHE2) && !defined(ap_copy_table)
+
+#define ap_copy_table apr_table_copy
+#define ap_cpystrn apr_cpystrn