openbsd-ports/devel/commoncpp/patches/patch-m4_ost_pthread_m4
jakemsr b5de437bf0 import commoncpp
Common C++ offers a highly portable C++ application development
framework.  Common C++ provides classes for threads, sockets, daemon
management, system logging, object synchronization, realtime network
development, persistant object management, and file access.

from brad@

ok ajacoutot@
2007-12-08 05:22:09 +00:00

13 lines
429 B
Plaintext

$OpenBSD: patch-m4_ost_pthread_m4,v 1.1.1.1 2007/12/08 05:22:09 jakemsr Exp $
--- m4/ost_pthread.m4.orig Sat Jul 21 22:26:34 2007
+++ m4/ost_pthread.m4 Sat Jul 21 22:26:49 2007
@@ -232,7 +232,7 @@ AC_LANG_RESTORE
ost_cv_rt_library="-lrt"
AC_DEFINE(HAVE_HIRES_TIMER, [1], [have hires])
],[
- AC_CHECK_FUNCS(clock_gettime,[
+ AC_CHECK_FUNCS(clock_nanosleep,[
AC_DEFINE(HAVE_HIRES_TIMER, [1], [have hires])
])
])