diff options
Diffstat (limited to 'audio/moc/patches/patch-ab')
-rw-r--r-- | audio/moc/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/moc/patches/patch-ab b/audio/moc/patches/patch-ab new file mode 100644 index 00000000000..03b49a40b1c --- /dev/null +++ b/audio/moc/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2008/04/07 16:15:25 bjs Exp $ + +--- configure.in.orig 2007-07-30 11:48:41.000000000 -0400 ++++ configure.in +@@ -49,7 +49,10 @@ AC_CHECK_HEADERS([fcntl.h string.h strin + AC_MSG_ERROR([Can't find required header files.])) + AC_CHECK_HEADERS([sys/select.h inttypes.h limits.h stdint.h]) + +-AC_CHECK_FUNCS([sched_get_priority_max]) ++AC_CHECK_FUNCS([sched_get_priority_max], , ++ [AC_CHECK_LIB([rt], ++ [sched_get_priority_max], ++ [EXTRA_LIBS="$EXTRA_LIBS -lrt"])]) + + dnl langinfo + AC_CHECK_HEADERS([langinfo.h]) |