[pkg-boost-devel] Bug#506736: boost1.36: FTBFS on GNU/kFreeBSD (#include <unistd.h> needed)
Petr Salinger
Petr.Salinger at seznam.cz
Mon Nov 24 11:20:07 UTC 2008
Package: boost1.36
Severity: important
Version: 1.36.0-9
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD, see
http://buildd.debian-ports.org/status/package.php?p=boost1.36
It needs small tweak, see bellow.
It would also be nice if you can ask upstream
to include this "#include <unistd.h>".
Thanks in advance
Petr
--- boost1.36-1.36.0/tools/jam/src/jam.h
+++ boost1.36-1.36.0/tools/jam/src/jam.h
@@ -418,6 +418,10 @@
# include <stdlib.h>
# endif
+# ifdef __GLIBC__
+# include <unistd.h>
+# endif
+
# if !defined(OS_BSDI) && \
!defined(OS_FREEBSD) && \
!defined(OS_DRAGONFLYBSD) && \
More information about the pkg-boost-devel
mailing list