File mod_auth_kerb-fix_warnings.patch of Package apache2-mod_auth_kerb

--- src/mod_auth_kerb.c.orig	2009-04-01 10:31:00.000000000 +0200
+++ src/mod_auth_kerb.c	2009-04-01 10:33:17.000000000 +0200
@@ -87,6 +87,8 @@
 
 #ifdef KRB5
 #include <krb5.h>
+krb5_error_code krb5_rc_resolve_full(krb5_context context, krb5_rcache *id, const char *string_name);
+krb5_error_code krb5_rc_destroy(krb5_context context, krb5_rcache id);
 #ifdef HEIMDAL
 #  include <gssapi.h>
 #else
@@ -1280,6 +1282,7 @@
    return 0;
 }
 
+#ifndef GSSAPI_SUPPORTS_SPNEGO
 static int
 cmp_gss_type(gss_buffer_t token, gss_OID oid)
 {
@@ -1306,6 +1309,7 @@
 
    return memcmp(p, oid->elements, oid->length);
 }
+#endif
 
 static int
 authenticate_user_gss(request_rec *r, kerb_auth_config *conf,
openSUSE Build Service is sponsored by