Skip to content
Snippets Groups Projects
Commit 34ad9836 authored by Nicholas Nethercote's avatar Nicholas Nethercote
Browse files

Bug 1181026 (part 2) - Clean up libevent patch handling. r=glandium.

Add a missing one to the docs, and move them from their current two locations
into a new patches/ directory.

--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
extra : rebase_source : 2b434e627b6fcbf699ab50c51356a986391dcd1c
parent 609bbdb8
No related branches found
No related tags found
No related merge requests found
......@@ -16,16 +16,19 @@ then be found in "include/event2/".
"TAILQ_END(head)" is used, causing a linking error. Just replace all use of the
"TAILQ_END(head)" macro with "NULL".
3. Apply "add mac-arc4random-buf.patch", which removes some bad OS X
compatibility code. This will allow libevent to compile on all supported
versions of OS X.
3. Apply the following patches from
ipc/chromium/src/third_party/libevent/patches/:
4. Apply "openbsd-no-arc4random_addrandom.patch", which fixes the build on
OpenBSD (which doesnt provide arc4random_addrandom anymore, see #931354).
- "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.
5. Apply "libevent-use-non-deprecated-syscalls.patch", which fixes the build on
AArch64 architecture (which does not provide deprecated syscalls).
- "openbsd-no-arc4random_addrandom.patch". This fixes the build on OpenBSD
(which doesn't provide arc4random_addrandom anymore, see #931354).
6. Apply "libevent-dont-use-issetugid-on-android.patch", which fixes the build
on Android L preview.
- "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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment