Index: head/devel/libevent/Makefile =================================================================== --- head/devel/libevent/Makefile (revision 478103) +++ head/devel/libevent/Makefile (revision 478104) @@ -1,36 +1,36 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= libevent PORTVERSION= 2.1.8 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= release- DISTVERSIONSUFFIX= -stable CATEGORIES= devel MAINTAINER= mm@FreeBSD.org COMMENT= API for executing callback functions on events or timeouts LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf libtool pathfix python:2.7,env shebangfix SHEBANG_FILES= event_rpcgen.py USE_GITHUB= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes OPTIONS_DEFINE= OPENSSL THREADS OPTIONS_DEFAULT= OPENSSL THREADS OPTIONS_SUB= yes OPENSSL_USES= ssl OPENSSL_CPPFLAGS= -I${OPENSSLINC} OPENSSL_LDFLAGS= -L${OPENSSLLIB} OPENSSL_CONFIGURE_ENABLE= openssl THREADS_CONFIGURE_ENABLE= thread-support .include Index: head/devel/libevent/files/patch-evutil__rand.c =================================================================== --- head/devel/libevent/files/patch-evutil__rand.c (nonexistent) +++ head/devel/libevent/files/patch-evutil__rand.c (revision 478104) @@ -0,0 +1,13 @@ +--- evutil_rand.c.orig 2017-01-25 23:37:15 UTC ++++ evutil_rand.c +@@ -195,8 +195,10 @@ evutil_secure_rng_get_bytes(void *buf, size_t n) + void + evutil_secure_rng_add_bytes(const char *buf, size_t n) + { ++#ifdef arc4random_addrandom + arc4random_addrandom((unsigned char*)buf, + n>(size_t)INT_MAX ? INT_MAX : (int)n); ++#endif + } + + void Property changes on: head/devel/libevent/files/patch-evutil__rand.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property