diff options
Diffstat (limited to 'devel/libuv/patches/patch-configure.ac')
-rw-r--r-- | devel/libuv/patches/patch-configure.ac | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/libuv/patches/patch-configure.ac b/devel/libuv/patches/patch-configure.ac index 31cf431274a..4749dabc179 100644 --- a/devel/libuv/patches/patch-configure.ac +++ b/devel/libuv/patches/patch-configure.ac @@ -1,15 +1,15 @@ -$NetBSD: patch-configure.ac,v 1.2 2019/08/22 10:28:25 wiz Exp $ +$NetBSD: patch-configure.ac,v 1.3 2020/05/23 09:27:10 adam Exp $ Add feature-test for pthread_condattr_setclock absent in netbsd-6-0 https://github.com/libuv/libuv/pull/2436 ---- configure.ac.orig 2017-02-01 00:38:56.000000000 +0000 +--- configure.ac.orig 2020-05-17 15:34:37.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]) +@@ -43,6 +43,7 @@ AX_PTHREAD([ + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + ]) + AC_CHECK_LIB([dl], [dlopen]) +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]) + AC_SEARCH_LIBS([kstat_lookup], [kstat]) + AC_SEARCH_LIBS([gethostbyname], [nsl]) + AC_SEARCH_LIBS([perfstat_cpu], [perfstat]) |