From e21fe8c3a4007c4a10f67e9e8107c3f083002f06 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:40:05 +0200 Subject: Adding debian version 1:9.2p1-2+deb12u2. Signed-off-by: Daniel Baumann --- debian/patches/maxhostnamelen.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 debian/patches/maxhostnamelen.patch (limited to 'debian/patches/maxhostnamelen.patch') diff --git a/debian/patches/maxhostnamelen.patch b/debian/patches/maxhostnamelen.patch new file mode 100644 index 0000000..fd53e7f --- /dev/null +++ b/debian/patches/maxhostnamelen.patch @@ -0,0 +1,30 @@ +From 36b00b5f4d96d6d9db3fd9e418bd2d1f66e8e7fe Mon Sep 17 00:00:00 2001 +From: Svante Signell +Date: Fri, 5 Nov 2021 23:22:53 +0000 +Subject: Define MAXHOSTNAMELEN on GNU/Hurd + +Bug-Debian: https://bugs.debian.org/997030 +Last-Update: 2021-11-05 + +Patch-Name: maxhostnamelen.patch +--- + defines.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/defines.h b/defines.h +index 279e509aa..7225cbfab 100644 +--- a/defines.h ++++ b/defines.h +@@ -136,6 +136,12 @@ enum + # endif + #endif /* HOST_NAME_MAX */ + ++#ifndef MAXHOSTNAMELEN ++# if defined(_POSIX_HOST_NAME_MAX) ++# define MAXHOSTNAMELEN _POSIX_HOST_NAME_MAX ++# endif ++#endif /* MAXHOSTNAMELEN */ ++ + #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 + # define MAXSYMLINKS 5 + #endif -- cgit v1.2.3