]> git.pld-linux.org Git - packages/amanda.git/blob - amanda-heimdal.patch
4448083fce10f26a470f829f7722318299b1460e
[packages/amanda.git] / amanda-heimdal.patch
1 --- amanda-2.6.0/config/amanda/krb5-security.m4~        2008-01-18 01:31:33.000000000 +0100
2 +++ amanda-2.6.0/config/amanda/krb5-security.m4 2008-05-13 11:41:28.000000000 +0200
3 @@ -69,6 +69,8 @@
4                  AMANDA_ADD_LIBS([-lgssapi_krb5 -lkrb5 $K5CRYPTO $K5SUPPORT -lcom_err])
5                  break
6              elif test \( -f ${k5libdir}/libkrb5.a -o -f ${k5libdir}/libkrb5.so \) -a \( -f ${k5libdir}/libasn1.a -o -f ${k5libdir}/libasn1.so \) -a \( -f ${k5libdir}/libgssapi.a -o -f ${k5libdir}/libgssapi.so \); then
7 +                KRB5_DIR_FOUND=$dir
8 +                KRB5_LIBDIR_FOUND=$k5libdir
9                  AMANDA_ADD_LIBS([-lgssapi -lkrb5 -lasn1])
10                  AMANDA_ADD_CPPFLAGS([-DKRB5_HEIMDAL_INCLUDES])
11                  break
12 --- amanda-2.6.0/common-src/krb5-security.c~    2008-01-18 01:31:41.000000000 +0100
13 +++ amanda-2.6.0/common-src/krb5-security.c     2008-05-13 11:50:57.000000000 +0200
14 @@ -45,7 +45,7 @@
15  #include "sockaddr-util.h"
16  
17  #ifdef KRB5_HEIMDAL_INCLUDES
18 -#include "com_err.h"
19 +#include "et/com_err.h"
20  #endif
21  
22  #define BROKEN_MEMORY_CCACHE
23 @@ -67,7 +67,7 @@
24  #ifndef KRB5_HEIMDAL_INCLUDES
25  #include <gssapi/gssapi_generic.h>
26  #else
27 -#include <gssapi/gssapi.h>
28 +#include <gssapi.h>
29  #endif
30  #include <krb5.h>
31  
32 --- amanda-2.6.0/common-src/security-util.h~    2008-01-18 01:31:41.000000000 +0100
33 +++ amanda-2.6.0/common-src/security-util.h     2008-05-13 11:51:10.000000000 +0200
34 @@ -47,11 +47,11 @@
35  
36  
37  #ifdef KRB5_SECURITY
38 -#  define KRB5_DEPRECATED 1
39  #  ifndef KRB5_HEIMDAL_INCLUDES
40 +#    define KRB5_DEPRECATED 1
41  #    include <gssapi/gssapi_generic.h>
42  #  else
43 -#    include <gssapi/gssapi.h>
44 +#    include <gssapi.h>
45  #  endif
46  #  include <krb5.h>
47  #endif
This page took 0.017783 seconds and 2 git commands to generate.