5afb5e46f9
This call is absent in netbsd-6-0. libuv built anyway, but it later died with undefined references in cmake. I read outdated information and assumed that the previous attempt at fixing the problem did not make a functional change, but it did. pthread_condattr_setclock does have an effect on netbsd. bump PKGREVISION so it is rebuilt, and for previous functional change. thanks joerg and riastradh for clearing things up.
14 lines
593 B
Text
14 lines
593 B
Text
$NetBSD: patch-configure.ac,v 1.1 2017/03/28 18:44:49 maya Exp $
|
|
|
|
Add feature-test for pthread_condattr_setclock absent in netbsd-6-0
|
|
|
|
--- configure.ac.orig 2017-02-01 00:38:56.000000000 +0000
|
|
+++ configure.ac
|
|
@@ -46,6 +46,7 @@ AC_CHECK_LIB([kvm], [kvm_open])
|
|
AC_CHECK_LIB([nsl], [gethostbyname])
|
|
AC_CHECK_LIB([perfstat], [perfstat_cpu])
|
|
AC_CHECK_LIB([pthread], [pthread_mutex_init])
|
|
+AC_CHECK_LIB([pthread], [pthread_condattr_setclock], AC_DEFINE(HAVE_PTHREAD_CONDATTR_SETCLOCK))
|
|
AC_CHECK_LIB([rt], [clock_gettime])
|
|
AC_CHECK_LIB([sendfile], [sendfile])
|
|
AC_CHECK_LIB([socket], [socket])
|