Fix build of Apache 1.3 module. From PR 35317 by b1ff@fr33.b33r.net.

This commit is contained in:
joerg 2006-12-29 13:35:30 +00:00
parent 9110460f92
commit 8a85c407d9
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.5 2006/12/18 12:39:45 abs Exp $
$NetBSD: distinfo,v 1.6 2006/12/29 13:35:30 joerg Exp $
SHA1 (mod_fastcgi-2.4.2.tar.gz) = a56be62a3f08262ae187989f5dacb3464a030e2e
RMD160 (mod_fastcgi-2.4.2.tar.gz) = 83c01567bb9a6d39345573137408615260972e1e
Size (mod_fastcgi-2.4.2.tar.gz) = 98295 bytes
SHA1 (patch-aa) = ce5cb8956728c5295b2de849e9f5b9e0abfec613
SHA1 (patch-aa) = c7ead44e7c0530f093065f034900e1be84746ec2
SHA1 (patch-ab) = 257d7e2b65fedd630e85acfb77bb9b6ddd21c6bf
SHA1 (patch-ac) = 2cc983a1f3d63a650fb648e60b3529c677857695
SHA1 (patch-ad) = c020c369f3075c28d30087e1b72ae6b0a3105373

View file

@ -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