Index: Makefile =================================================================== --- Makefile (revision 477619) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= libevent PORTVERSION= 2.1.8 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= release- DISTVERSIONSUFFIX= -stable CATEGORIES= devel Index: files/patch-evutil__rand.c =================================================================== --- files/patch-evutil__rand.c (nonexistent) +++ files/patch-evutil__rand.c (working copy) @@ -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: 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