diff --git a/www/mod_auth_kerb2/Makefile b/www/mod_auth_kerb2/Makefile index e43a2e6bd601..976f9210e1c3 100644 --- a/www/mod_auth_kerb2/Makefile +++ b/www/mod_auth_kerb2/Makefile @@ -30,6 +30,7 @@ GSSAPI_MIT_DESC= Use MIT implementation of GSS API GSSAPI_DESC= Use Base version of GSS API GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal +GSSAPI_HEIMDAL_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src__mod_auth_kerb.c GSSAPI_MIT_USES= gssapi:mit .include diff --git a/www/mod_auth_kerb2/files/extra-patch-src__mod_auth_kerb.c b/www/mod_auth_kerb2/files/extra-patch-src__mod_auth_kerb.c new file mode 100644 index 000000000000..8917c87b05c7 --- /dev/null +++ b/www/mod_auth_kerb2/files/extra-patch-src__mod_auth_kerb.c @@ -0,0 +1,11 @@ +--- src/mod_auth_kerb.c.orig 2008-12-04 10:14:03 UTC ++++ src/mod_auth_kerb.c +@@ -1319,7 +1319,7 @@ authenticate_user_gss(request_rec *r, kerb_auth_config + gss_name_t client_name = GSS_C_NO_NAME; + gss_cred_id_t delegated_cred = GSS_C_NO_CREDENTIAL; + OM_uint32 (KRB5_LIB_FUNCTION *accept_sec_token) +- (OM_uint32 *, gss_ctx_id_t *, const gss_cred_id_t, ++ (OM_uint32 *, gss_ctx_id_t *, gss_const_cred_id_t, + const gss_buffer_t, const gss_channel_bindings_t, + gss_name_t *, gss_OID *, gss_buffer_t, OM_uint32 *, + OM_uint32 *, gss_cred_id_t *);