Source: krb5 Version: 1.17-7 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
HI, krb5 currently FTBFS on GNU/Hurd due to a missing MAXHOSTNAMELEN definition. The attached patch fixes the build problem on GNU/Hurd by adding a definition of MAXHOSTNAMELEN to src/lib/krb5/os/hostrealm.c. Perhaps this patch can be added to the already existing patch 0001- Debian-HURD-compatibility.patch. Thanks!
--- a/src/lib/krb5/os/hostrealm.c 2019-01-08 17:02:37.000000000 +0100 +++ b/src/lib/krb5/os/hostrealm.c 2020-04-03 20:52:54.000000000 +0200 @@ -251,6 +251,10 @@ return -1; } +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 256 +#endif + /* Get the canonical form of the local host name, using forward * canonicalization only. */ krb5_error_code