summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src/third_party/libevent/README.mozilla
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /ipc/chromium/src/third_party/libevent/README.mozilla
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'ipc/chromium/src/third_party/libevent/README.mozilla')
-rw-r--r--ipc/chromium/src/third_party/libevent/README.mozilla46
1 files changed, 46 insertions, 0 deletions
diff --git a/ipc/chromium/src/third_party/libevent/README.mozilla b/ipc/chromium/src/third_party/libevent/README.mozilla
new file mode 100644
index 000000000..8b2490dd0
--- /dev/null
+++ b/ipc/chromium/src/third_party/libevent/README.mozilla
@@ -0,0 +1,46 @@
+This is a clean copy of libevent-2.0.21-stable with the following
+modifications.
+
+1. Add the following files:
+
+- linux/event2/event-config.h
+- mac/event2/event-config.h
+- bsd/event2/event-config.h
+- android/event2/event-config.h
+
+These files are taken from libevent-2.0.21-stable built on the development
+environment indicated by the first path component. You have to run
+"./configure" and "make" to get all of the pre-processing done. The file can
+then be found in "include/event2/".
+
+You then need to modify the _EVENT_SIZEOF_* constants in the generated linux,
+android, mac and bsd headers to be appropriate for both 32-bit and 64-bit
+platforms. Use __LP64__ to distinguish the two cases. If you get something
+wrong the CHECK_EVENT_SIZEOF static assertions in message_pump_libevent.cc will
+fail.
+
+2. This is ugly, prepare yourself. OS X has a weird problem with how the
+"TAILQ_END(head)" is used, causing a linking error. Just replace all use of the
+"TAILQ_END(head)" macro with "NULL".
+
+3. Apply the following patches from
+ipc/chromium/src/third_party/libevent/patches/:
+
+- "mac-arc4random-buf.patch". This removes some bad OS X compatibility code.
+ This will allow libevent to compile on all supported versions of OS X.
+
+- "openbsd-no-arc4random_addrandom.patch". This fixes the build on OpenBSD
+ (which doesn't provide arc4random_addrandom anymore, see #931354).
+
+- "use-non-deprecated-syscalls.patch". This fixes the build on AArch64
+ architecture (which does not provide deprecated syscalls).
+
+- "dont-use-issetugid-on-android.patch". This fixes the build on Android L
+ preview.
+
+- "avoid-empty-sighandler.patch". This fixes some OS X crashes.
+
+- "android64_support.patch". This fixes Android 64-bit support.
+
+- "backport-upstream-fixes.patch". Backports a few upstream fixes from 2.1.x
+ to our in-tree copy of 2.0.21.