Your message dated Wed, 18 Nov 2015 22:45:14 +0000
with message-id <20151118224514.gc12...@riva.ucam.org>
has caused the report #805505,
regarding putty: FTBFS on hurd-i386
to be marked as having been forwarded to the upstream software
author(s) pu...@projects.tartarus.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
805505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805505
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hi putty@,
This patch looks reasonable to me - does it also look fine to you?
Thanks,
--
Colin Watson [cjwat...@debian.org]
--- Begin Message ---
Source: putty
Version: 0.66-1
Severity: important
Tags: patch
Usertags: hurd
User: debian-h...@lists.debian.org
Hello,
putty FTBFS on GNU/Hurd due to a missing definition of PIPE_BUF in
<limits.h>. This is solved by using the _POSIX_PIPE_BUF defined value
of 512 instead. (In fact the assertion will never happen, SALT_SIZE is
defined to 64 and PIPE_BUF is always larger than that, e.g. for Linux
4096, and so is _POSIX_PIPE_BUF.
Thanks!
Index: putty-0.66/unix/uxshare.c
===================================================================
--- putty-0.66.orig/unix/uxshare.c
+++ putty-0.66/unix/uxshare.c
@@ -23,6 +23,9 @@
#define CONNSHARE_SOCKETDIR_PREFIX "/tmp/putty-connshare"
#define SALT_FILENAME "salt"
#define SALT_SIZE 64
+#ifndef PIPE_BUF
+#define PIPE_BUF _POSIX_PIPE_BUF
+#endif
/*
* Functions provided by uxnet.c to help connection sharing.
--- End Message ---
--- End Message ---