[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

heimdal: FTBFS on hurd-i386



Source: heimdal
Version: 1.7.5.0+dfsg-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

Currently heimdal fails to build on GNU/Hurd due to usage of MAXHOSTNAMELEN
where it is not defined. The attached patch solves this problem by using
MaxHostNameLen instead. This patch could maybe be integrated with the already
existing patch: 041_hurd_maxhostnamelen solving the same kind of issues.


Thanks!
--- a/kdc/kx509.c.orig	2017-03-14 22:02:21.000000000 +0100
+++ b/kdc/kx509.c	2018-05-25 21:06:09.000000000 +0200
@@ -331,7 +331,7 @@
     krb5_boolean bret;
     krb5_principal principal = NULL;
     char *expected = NULL;
-    char localhost[MAXHOSTNAMELEN];
+    char localhost[MaxHostNameLen];
 
     ret = gethostname(localhost, sizeof(localhost) - 1);
     if (ret != 0) {

Reply to: