View | Details | Raw Unified | Return to bug 204342
Collapse All | Expand All

(-)/home/pi/myp/www/mod_auth_mysql2/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mod_auth_mysql
4
PORTNAME=	mod_auth_mysql
5
PORTVERSION=	1.10
5
PORTVERSION=	1.10
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	http://www.heuer.org/mod_auth_mysql/old/
8
MASTER_SITES=	http://www.heuer.org/mod_auth_mysql/old/
9
PKGNAMESUFFIX=	2
9
PKGNAMESUFFIX=	2
(-)/home/pi/myp/www/mod_auth_mysql2/files/patch-mod__auth__mysql.c (+14 lines)
Line 0 Link Here
1
--- mod_auth_mysql.c.orig	2015-11-06 19:59:32 UTC
2
+++ mod_auth_mysql.c
3
@@ -751,7 +751,11 @@ static int db_check_auth(request_rec *r)
4
     char *user = r->user;
5
     int m = r->method_number;
6
 
7
+#ifdef APACHE24
8
+    const apr_array_header_t *reqs_arr = NULL;
9
+#else
10
     const apr_array_header_t *reqs_arr = ap_requires(r);
11
+#endif
12
     require_line *reqs = reqs_arr ? (require_line *) reqs_arr->elts : NULL;
13
 
14
     register int x;

Return to bug 204342