openbsd-ports/net/ortp/patches/patch-configure_ac
zhuk a0205e342e Patch oRTP for getting proper random numbers through arc4random().
Patches for HEAD sent upstream. Take MAINTAINER as it's me who should be
blamed for problems now, anyway.

Initial prodding by landry@
2013-11-25 17:12:43 +00:00

14 lines
488 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.1 2013/11/25 17:12:43 zhuk Exp $
--- configure.ac.orig Mon Nov 25 12:57:48 2013
+++ configure.ac Mon Nov 25 12:59:26 2013
@@ -160,6 +160,9 @@ build_scheduler=yes
dnl Check if we have seteuid system call
AC_CHECK_FUNCS(seteuid)
+dnl Check if we have arc4random family routines available
+AC_CHECK_FUNCS(arc4random)
+
dnl check if we can use the pthread_library
AC_CHECK_LIB(pthread, pthread_mutex_init, [pthread_enabled=yes], [pthread_enabled=no])