Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 696546 Details for
Bug 779577
dev-lang/mono: add support for Heimdal (use virtual/krb5 once supported upstream)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow-heimdal.patch (from Arfrever upstream)
file_779577.txt (text/plain), 1.44 KB, created by
Sam James
on 2021-03-31 18:59:08 UTC
(
hide
)
Description:
allow-heimdal.patch (from Arfrever upstream)
Filename:
MIME Type:
Creator:
Sam James
Created:
2021-03-31 18:59:08 UTC
Size:
1.44 KB
patch
obsolete
>--- /configure.ac >+++ /configure.ac >@@ -3829,11 +3829,29 @@ > AC_DEFINE(ENABLE_GSS, 1, [ENABLE_GSS]) > ], [ > AC_MSG_RESULT(no) >+ >+ AC_MSG_CHECKING(for gssapi/gssapi.h) >+ AC_TRY_COMPILE([ >+ #include <gssapi/gssapi.h> >+ ], [ >+ ],[ >+ AC_MSG_RESULT(yes) >+ enable_gss=yes >+ >+ AC_DEFINE(ENABLE_GSS, 1, [ENABLE_GSS]) >+ AC_DEFINE(HAVE_HEIMDAL_HEADERS, 1, [HAVE_HEIMDAL_HEADERS]) >+ ], [ >+ AC_MSG_RESULT(no) >+ ]) > ]) > > AC_MSG_CHECKING(for GSS_SPNEGO_MECHANISM) > AC_TRY_COMPILE([ >+ #if HAVE_HEIMDAL_HEADERS >+ #include <gssapi/gssapi.h> >+ #else > #include <gssapi/gssapi_ext.h> >+ #endif > #include <gssapi/gssapi_krb5.h> > gss_OID_set_desc gss_mech_spnego_OID_set_desc = {.count = 1, .elements = GSS_SPNEGO_MECHANISM}; > ], [ >@@ -3844,6 +3862,15 @@ > AC_MSG_RESULT(no) > ]) > >+ gssapi_lib="" >+ AC_CHECK_LIB(gssapi_krb5, gss_acquire_cred, [ >+ gssapi_lib="-lgssapi_krb5" >+ ], [ >+ AC_CHECK_LIB(gssapi, gss_acquire_cred, [ >+ gssapi_lib="-lgssapi" >+ ]) >+ ]) >+ > AM_CONDITIONAL(ENABLE_GSS, test x$enable_gss = xyes) > > AC_CHECK_HEADERS([crt_externs.h]) >@@ -6494,7 +6521,7 @@ > MONO_NATIVE_CFLAGS=$CFLAGS > MONO_NATIVE_LDFLAGS=$LDFLAGS > if test x$enable_gss = xyes; then >- MONO_NATIVE_LDFLAGS="$MONO_NATIVE_LDFLAGS -lgssapi_krb5" >+ MONO_NATIVE_LDFLAGS="$MONO_NATIVE_LDFLAGS ${gssapi_lib}" > else > AC_MSG_WARN([GSS is not enabled, it requires libkrb5-dev package]) > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 779577
: 696546 |
696552