Bug#857093: FTBFS on kFreeBSD and Hurd

James Clarke jrtc27 at debian.org
Tue Mar 7 23:38:16 UTC 2017


Source: graywolf
Version: 0.1.4+20170307gite1bf319-1
Severity: normal
Tags: patch upstream

Hi,
I noticed that this currently fails to build on kFreeBSD and Hurd, since
it tries to use stdin in an initializer list, which gives an error
(stdin is not a compile-time constant). There is already code to work
around this on Linux, so I'm not sure why it's not used elsewhere, but
the attached patch fixes the build for me on kfreebsd-amd64 (I assume
kfreebsd-i386 and hurd-i386 too, though I have not actually tested
that). It also removes the strange stdio.h handling, which isn't
necessary, but is even more mind-boggling.

Regards,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05_stdin_not_a_constant.patch
Type: text/x-diff
Size: 9738 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170307/7f64d395/attachment-0001.patch>


More information about the debian-science-maintainers mailing list