diff options
Diffstat (limited to 'meta/packages/gnome/gnome-vfs-2.24.3/gnome-vfs-no-kerberos.patch')
| -rw-r--r-- | meta/packages/gnome/gnome-vfs-2.24.3/gnome-vfs-no-kerberos.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/packages/gnome/gnome-vfs-2.24.3/gnome-vfs-no-kerberos.patch b/meta/packages/gnome/gnome-vfs-2.24.3/gnome-vfs-no-kerberos.patch new file mode 100644 index 0000000000..e25ecdd66f --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-2.24.3/gnome-vfs-no-kerberos.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | removes kerberos completely to avoid conflicts with installed kerberos | ||
| 2 | --- configure.in.orig 2007-01-05 19:42:26.418541610 +0200 | ||
| 3 | +++ configure.in 2007-01-05 19:42:56.604261797 +0200 | ||
| 4 | @@ -436,47 +436,6 @@ | ||
| 5 | ]) | ||
| 6 | AM_CONDITIONAL(HAVE_CDDA, test $have_cdda = yes) | ||
| 7 | AC_SUBST(CDDA_LIBS) | ||
| 8 | - | ||
| 9 | -dnl GSSAPI | ||
| 10 | -dnl Check for Kerberos installation | ||
| 11 | -have_gssapi=no | ||
| 12 | -AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin) | ||
| 13 | - | ||
| 14 | -if test "x$KRB5_CONFIG" != "xnone"; then | ||
| 15 | - GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`" | ||
| 16 | - GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`" | ||
| 17 | - | ||
| 18 | - saved_CPPFLAGS="$CPPFLAGS" | ||
| 19 | - saved_LIBS="$LIBS" | ||
| 20 | - LIBS="$LIBS $GSSAPI_LIBS" | ||
| 21 | - CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS" | ||
| 22 | - # MIT and Heimdal put gssapi.h in different places | ||
| 23 | - AC_CHECK_HEADERS(gssapi/gssapi.h gssapi.h, [ | ||
| 24 | - AC_CHECK_FUNCS(gss_init_sec_context, [ | ||
| 25 | - AC_MSG_NOTICE([GSSAPI authentication support enabled]) | ||
| 26 | - AC_DEFINE(HAVE_GSSAPI, 1, [Define if GSSAPI support is enabled]) | ||
| 27 | - AC_CHECK_HEADERS(gssapi/gssapi_generic.h) | ||
| 28 | - have_gssapi=yes | ||
| 29 | - | ||
| 30 | - # MIT Kerberos lacks GSS_C_NT_HOSTBASED_SERVICE | ||
| 31 | - AC_CHECK_DECL([GSS_C_NT_HOSTBASED_SERVICE],, | ||
| 32 | - [AC_DEFINE([GSS_C_NT_HOSTBASED_SERVICE], gss_nt_service_name, | ||
| 33 | - [Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise]) | ||
| 34 | - ], [ | ||
| 35 | - #ifdef HAVE_GSSAPI_GSSAPI_H | ||
| 36 | - #include <gssapi/gssapi.h> | ||
| 37 | - #else | ||
| 38 | - #include <gssapi.h> | ||
| 39 | - #endif | ||
| 40 | - ]) | ||
| 41 | - ]) | ||
| 42 | - break | ||
| 43 | - ]) | ||
| 44 | - LIBS="$saved_LIBS" | ||
| 45 | - CPPFLAGS="$saved_CPPFLAGS" | ||
| 46 | -fi | ||
| 47 | -AC_SUBST(GSSAPI_LIBS) | ||
| 48 | -AC_SUBST(GSSAPI_CFLAGS) | ||
| 49 | |||
| 50 | dnl ****************************** | ||
| 51 | dnl http-method (neon checks) | ||
