Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389347

Summary: net-mail/fetchmail-6.3.21 fails to correctly detect >=app-crypt/heimdal-1.4
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 389343    

Description Rafał Mużyło 2011-11-02 17:34:06 UTC
The check for heimdal is outdated.
The problem is twofolds:
- at some point, heimdal started to provide /usr/include/gssapi.h, instead of just /usr/include/gssapi/gssapi.h
- the other part is bug 389343

It seems that turning 
'AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h,'
into:
'AC_EGREP_CPP(hostbased_service_gss_nt_yes, gssapi.h,
[#include <gssapi.h>
 #ifdef GSS_C_NT_HOSTBASED_SERVICE
   hostbased_service_gss_nt_yes
 #endif],'

will fix the problem.
Comment 1 Eray Aslan gentoo-dev 2011-11-06 20:14:14 UTC
+  06 Nov 2011; Eray Aslan <eras@gentoo.org> fetchmail-6.3.21.ebuild,
+  +files/fetchmail-gss_c_nt_hostbased_service.patch:
+  Fix compiling against >=heimdal-1.4 - bug #389347. Thanks to Rafał Mużyło.
+

Thanks for the bug report.