aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libevent
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2010-01-13 04:41:12 +0800
committeritetcu <itetcu@FreeBSD.org>2010-01-13 04:41:12 +0800
commit175f38cd4396947db5196943bf77da8edd0f95f6 (patch)
tree759efcf7b9ee347076ca7cc82a0440cd9bc17a41 /devel/libevent
parent2042a4034234d30a39db84ffe12eae2072b9d8ac (diff)
downloadfreebsd-ports-gnome-175f38cd4396947db5196943bf77da8edd0f95f6.tar.gz
freebsd-ports-gnome-175f38cd4396947db5196943bf77da8edd0f95f6.tar.zst
freebsd-ports-gnome-175f38cd4396947db5196943bf77da8edd0f95f6.zip
Add patch forgotten in previous commit.
Log: - Update to 0.3.11 - Remove files/patch-src::lookup.c (adopted upstream) - Remove files/patch-Makefile; replicate instead in Makefile while respecting custom LOCALBASE PR: 141004 Submitted by: Sahil Tandon Approved by: maintainer Submitted by: maintainer
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/files/patch-compat-bsd-stdlib-arc4random.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/libevent/files/patch-compat-bsd-stdlib-arc4random.h b/devel/libevent/files/patch-compat-bsd-stdlib-arc4random.h
new file mode 100644
index 000000000000..01d54d8c7f23
--- /dev/null
+++ b/devel/libevent/files/patch-compat-bsd-stdlib-arc4random.h
@@ -0,0 +1,27 @@
+*** compat/bsd/stdlib/arc4random.h.orig Sun Nov 29 00:02:28 2009
+--- compat/bsd/stdlib/arc4random.h Mon Nov 30 15:22:29 2009
+***************
+*** 379,389 ****
+
+
+ #ifndef HAVE_ARC4RANDOM_BUF
+! #if defined __OpenBSD__
+
+! #include <sys/param.h> /* OpenBSD */
+
+! #if OpenBSD >= 200811
+ #define HAVE_ARC4RANDOM_BUF 1
+ #else
+ #define HAVE_ARC4RANDOM_BUF 0
+--- 379,389 ----
+
+
+ #ifndef HAVE_ARC4RANDOM_BUF
+! #if defined __OpenBSD__ || defined __FreeBSD__
+
+! #include <sys/param.h> /* OpenBSD, FreeBSD */
+
+! #if OpenBSD >= 200811 || __FreeBSD_version >= 800107
+ #define HAVE_ARC4RANDOM_BUF 1
+ #else
+ #define HAVE_ARC4RANDOM_BUF 0