head 1.3; access; symbols pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.8 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @// @; 1.3 date 2015.08.14.07.54.04; author adam; state dead; branches; next 1.2; commitid CAb6ObqWr6HN4dxy; 1.2 date 2015.04.17.14.04.47; author adam; state Exp; branches; next 1.1; commitid JDTHq8j3oFqlWWhy; 1.1 date 2014.05.13.18.48.49; author ryoon; state Exp; branches; next ; commitid y6NZM65xcxh9qpAx; desc @@ 1.3 log @Changes 1.59.0: New Libraries Convert: An extendible and configurable type-conversion framework, from Vladimir Batov. Coroutine2: (C++14) Coroutine library, from Oliver Kowalke. Updated Libraries... @ text @$NetBSD: patch-libs_log_src_timestamp.cpp,v 1.2 2015/04/17 14:04:47 adam Exp $ * OpenBSD 5.5 has no _POSIX_TIMES, fix build under OpenBSD 5.5 --- libs/log/src/timestamp.cpp.orig 2015-04-04 17:33:00.000000000 +0000 +++ libs/log/src/timestamp.cpp @@@@ -203,6 +203,7 @@@@ BOOST_LOG_API get_tick_count_t get_tick_ #endif // _WIN32_WINNT >= 0x0600 #elif (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) /* POSIX timers supported */ \ + || defined(__OpenBSD__) \ || defined(__GNU__) /* GNU Hurd does not support POSIX timers fully but does provide clock_gettime() */ BOOST_LOG_API int64_t duration::milliseconds() const @ 1.2 log @Changes 1.58.0: * New Libraries: - Endian: Types and conversion functions for correct byte ordering and more regardless of processor endianness. - Sort: Includes spreadsort, a general-case hybrid radix sort that is faster than O(n*log(n)) * Updated Libraries: @ text @d1 1 a1 1 $NetBSD: patch-libs_log_src_timestamp.cpp,v 1.1 2014/05/13 18:48:49 ryoon Exp $ @ 1.1 log @Fix build of boost-libs under OpenBSD/amd64 5.5 * Add iconv dependency (fix build) * Add the patches for OpenBSD * gcc46 is required under OpenBSD 5.5 at least @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- libs/log/src/timestamp.cpp.orig 2013-08-25 14:20:22.000000000 +0000 d7 1 a7 2 @@@@ -202,7 +202,7 @@@@ BOOST_LOG_API get_tick_count_t get_tick_ d10 3 a12 2 -#elif defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0 +#elif (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) || defined(__OpenBSD__) a14 1 { @