pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libevent
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Mar 8 13:37:55 UTC 2017
Modified Files:
pkgsrc/devel/libevent: distinfo
pkgsrc/devel/libevent/patches: patch-evutil__rand.c
Log Message:
Update patch for current define naming. Fixes SunOS build.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/libevent/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libevent/patches/patch-evutil__rand.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libevent/distinfo
diff -u pkgsrc/devel/libevent/distinfo:1.33 pkgsrc/devel/libevent/distinfo:1.34
--- pkgsrc/devel/libevent/distinfo:1.33 Wed Feb 15 17:34:37 2017
+++ pkgsrc/devel/libevent/distinfo Wed Mar 8 13:37:55 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2017/02/15 17:34:37 adam Exp $
+$NetBSD: distinfo,v 1.34 2017/03/08 13:37:55 jperkin Exp $
SHA1 (libevent-2.1.8-stable.tar.gz) = 2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec
RMD160 (libevent-2.1.8-stable.tar.gz) = 6c7ce8cb51279f9b6b8d8897192db6a2da3d6797
SHA512 (libevent-2.1.8-stable.tar.gz) = a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17
Size (libevent-2.1.8-stable.tar.gz) = 1026485 bytes
SHA1 (patch-Makefile.in) = 09c7524eb8657e1f76232db97273806a8c900219
-SHA1 (patch-evutil__rand.c) = 28f7e540e85d1e13f7ca71b2dff22eafb1a804b1
+SHA1 (patch-evutil__rand.c) = 92af79099f2344cbda7ce4d23e10835df583999b
Index: pkgsrc/devel/libevent/patches/patch-evutil__rand.c
diff -u pkgsrc/devel/libevent/patches/patch-evutil__rand.c:1.2 pkgsrc/devel/libevent/patches/patch-evutil__rand.c:1.3
--- pkgsrc/devel/libevent/patches/patch-evutil__rand.c:1.2 Wed Feb 15 17:34:37 2017
+++ pkgsrc/devel/libevent/patches/patch-evutil__rand.c Wed Mar 8 13:37:55 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-evutil__rand.c,v 1.2 2017/02/15 17:34:37 adam Exp $
+$NetBSD: patch-evutil__rand.c,v 1.3 2017/03/08 13:37:55 jperkin Exp $
Native illumos arc4random(3C) imported the latest OpenBSD API which
does not have arc4random_addrandom().
@@ -9,7 +9,7 @@ does not have arc4random_addrandom().
void
evutil_secure_rng_add_bytes(const char *buf, size_t n)
{
-+#if !(defined(_EVENT_HAVE_ARC4RANDOM) && defined(__sun))
++#if !(defined(EVENT__HAVE_ARC4RANDOM) && defined(__sun))
arc4random_addrandom((unsigned char*)buf,
n>(size_t)INT_MAX ? INT_MAX : (int)n);
+#endif
Home |
Main Index |
Thread Index |
Old Index