[pkg-boost-devel] Bug#714847: boost1.54: FTBFS on hurd-i386

Samuel Thibault sthibault at debian.org
Wed Jul 3 11:39:08 UTC 2013


Package: boost1.54
Version: 1.54.0-1
Severity: important
Tags: patch

Hello,

boost1.54 currently FTBFS on hurd-i386 because it doesn't know hurd-i386
has clock_gettime. hurd-i386 does not define _POSIX_TIMERS because it
does not have timer_create & co yet, but it does have clock_gettime,
thus the attached patch.

Samuel

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
 J'ai un gros problème: j'ai cet exercice à rendre demain lundi, mais ma
 TI 89 ne sait pas le faire...
 Est-ce que quelqu'un pourrait m'aider??
 -+- OD In Guide du Neuneu Usenet : Comment ça ! Il faut réfléchir ?-+-
-------------- next part --------------
--- libs/log/src/timestamp.cpp.original	2013-07-03 07:46:14.000000000 +0000
+++ libs/log/src/timestamp.cpp	2013-07-03 07:46:22.000000000 +0000
@@ -196,7 +196,7 @@
 
 #endif // _WIN32_WINNT >= 0x0600
 
-#elif defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
+#elif (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) || defined(__GNU__)
 
 BOOST_LOG_API int64_t duration::milliseconds() const
 {


More information about the pkg-boost-devel mailing list