[Pkg-octave-devel] Bug#670073: octave-nan: FTBFS on hurd-i386

Pino Toscano pino at debian.org
Sun Apr 22 18:45:31 UTC 2012


Package: octave-nan
Version: 2.5.5-1
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

currently[1], octave-nan does not compile on GNU/Hurd.

The problem is that it tries to include <machine/endian.h> if BSD is
defined (which is on Hurd, since it initially wanted to be
BSD-compatible, somehow). Anyhow, the attached patch avoids that
#include in Hurd, and enabling <byteswap.h> on any GNU libc platform
(since GNU libc provides that header) to have optimized byte swapping
macros on GNU/Hurd and also on GNU/kFreeBSD too.

[1] https://buildd.debian.org/status/fetch.php?pkg=octave-nan&arch=hurd-i386&ver=2.5.5-1&stamp=1333477163

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-diff
Size: 629 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20120422/9f8dd438/attachment.diff>


More information about the Pkg-octave-devel mailing list