[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#389579: libapache-mod-auth-mysql: FTBFS against apache 2.2



Package: libapache-mod-auth-mysql
Version: 4.3.9-2.1
Tags: patch

Please update and test this package for use with Apache 2.2, which may
go into sid and etch soon.  The following patch may help.  It allows
the package to compile, but I did not test runtime functionality.
Apache 2.2 is currently in experimental.

Note that the authz / authn interface in Apache 2.2 has been updated
somewhat, so the fact that an auth module compiles does not mean it
works correctly and optimally.

Peter

Index: mod_auth_mysql.c
--- mod_auth_mysql.c
+++ mod_auth_mysql.c
@@ -48,6 +48,7 @@
 #include <http_log.h>
 #ifdef APACHE2
 #include "http_request.h"   /* for ap_hook_(check_user_id | auth_checker)*/
+#include <apr_general.h>
 #include <apr_md5.h>
 #include <apr_sha1.h>
 #else
@@ -70,6 +71,10 @@
 #define FALSE 0
 #endif
 
+#ifndef APR_XtOffsetOf
+#define APR_XtOffsetOf APR_OFFSETOF
+#endif
+
 /* This are the system-wide config options; the more specific options live in
  * a mysql_auth_config_rec structure, one for each MySQL-configured directory.
  */

Attachment: signature.asc
Description: Digital signature


Reply to: