freebsd-ports/www/mod_auth_mysql_another/files/patch-strcat
Pav Lucistnik aaabee096d - Fix build with Apache 2.2
PR:		ports/111601
Submitted by:	Patrick Powell <papowell@astart.com>
Approved by:	maintainer timeout (mbr; 3 months)
2007-07-29 12:11:07 +00:00

22 lines
633 B
Text

--- mod_auth_mysql.c.orig Mon May 15 15:19:50 2006
+++ mod_auth_mysql.c Mon May 15 15:20:06 2006
@@ -206,7 +206,7 @@
#define SNPRINTF apr_snprintf
#define PSTRDUP apr_pstrdup
#define PSTRNDUP apr_pstrndup
- #define STRCAT ap_pstrcat
+ #define STRCAT apr_pstrcat
#define POOL apr_pool_t
#include "http_request.h" /* for ap_hook_(check_user_id | auth_checker)*/
#include "ap_compat.h"
@@ -255,6 +255,10 @@
#define NOT_AUTHORIZED AUTH_REQUIRED
#define TABLE_GET ap_table_get
#define ISSPACE ap_isspace
+#endif
+
+#ifndef APR_XtOffsetOf
+#define APR_XtOffsetOf APR_OFFSETOF
#endif
#include "util_md5.h"