Source: krb5
Version: 1.15~beta1-1
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/include/k5-int.h.

Thanks!
--- a/src/include/k5-int.h.orig	2016-11-24 23:41:37.000000000 +0100
+++ b/src/include/k5-int.h	2016-11-25 00:05:13.000000000 +0100
@@ -584,6 +584,10 @@
 # define MAXPATHLEN 4096
 #endif
 
+#ifndef MAXHOSTNAMELEN
+# define MAXHOSTNAMELEN 64
+#endif
+
 #ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>                   /* prototypes for file-related
                                            syscalls; flags for open &

Reply via email to