]> git.pld-linux.org Git - packages/cyrus-sasl.git/blob - cyrus-sasl-keytab.patch
- new gcc doesn't like more things
[packages/cyrus-sasl.git] / cyrus-sasl-keytab.patch
1 diff -u -r cyrus-sasl-2.1.21-orig/cmulocal/sasl2.m4 cyrus-sasl-2.1.21/cmulocal/sasl2.m4
2 --- cyrus-sasl-2.1.21-orig/cmulocal/sasl2.m4    2006-08-01 08:29:59.000000000 +0200
3 +++ cyrus-sasl-2.1.21/cmulocal/sasl2.m4 2006-08-01 08:31:32.000000000 +0200
4 @@ -257,7 +257,21 @@
5  
6    cmu_save_LIBS="$LIBS"
7    LIBS="$LIBS $GSSAPIBASE_LIBS"
8 -  AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity)
9 +  dnl AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity)
10 +  AC_CHECK_HEADER(gssapi/gssapi_krb5.h, AC_DEFINE(HAVE_GSSAPI_GSSAPI_KRB5_H,,[Define if you have the gssapi/gssapi_krb5.h header file]))
11 +  AC_LINK_IFELSE([AC_LANG_PROGRAM([[
12 +#ifdef HAVE_GSSAPI_H
13 +#include <gssapi.h>
14 +#else
15 +#include <gssapi/gssapi.h>
16 +#endif
17 +#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
18 +#include <gssapi/gssapi_krb5.h>
19 +#endif
20 +]],[[gsskrb5_register_acceptor_identity("");]])
21 +],[AC_DEFINE(HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY,,
22 +             [Define if your GSSAPI implimentation defines GSSKRB5_REGISTER_ACCEPTOR_IDENTITY])
23 +])
24    LIBS="$cmu_save_LIBS"
25  else
26    AC_MSG_RESULT([disabled])
27 diff -u -r cyrus-sasl-2.1.21-orig/plugins/gssapi.c cyrus-sasl-2.1.21/plugins/gssapi.c
28 --- cyrus-sasl-2.1.21-orig/plugins/gssapi.c     2004-07-21 16:39:06.000000000 +0200
29 +++ cyrus-sasl-2.1.21/plugins/gssapi.c  2006-08-01 08:30:26.000000000 +0200
30 @@ -50,6 +50,9 @@
31  #else
32  #include <gssapi/gssapi.h>
33  #endif
34 +#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
35 +#include <gssapi/gssapi_krb5.h> 
36 +#endif
37  
38  #ifdef WIN32
39  #  include <winsock2.h>
This page took 0.058118 seconds and 3 git commands to generate.