• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name: libevent
2URL: http://libevent.org/
3Version: 1.4.15
4License: BSD
5Security Critical: yes
6
7Local Modifications:
8Rather than use libevent's own build system, we just build a Chrome
9static library using GYP.
10
111) Run configure and "make event-config.h" on Linux, FreeBSD, Solaris,
12   and Mac and copy config.h and event-config.h to linux/, freebsd/,
13   solaris/, and mac/ respectively.
142) Add libevent.gyp.
153) chromium.patch is applied to make the following changes:
16   - Allow libevent to be used without being installed by changing <...>
17     #includes to "...".
18   - Fix a race condition in event_del.
19   - Optimistically assume CLOCK_MONOTONIC is available and fallback if it
20     fails, rather than explicitly testing for it.
21   - Remove an unneeded variable that causes a -Werror build failure.
22   - Add an #ifndef to fix a preprocessor redefined -Werror build failure.
23   - Revert the patch from http://sourceforge.net/p/levent/bugs/223/ that
24     introduces use-after-free memory corruption when an event callback frees
25     the struct event memory.
26   - Remove deprecated global variables, event_sigcb and event_gotsig
27     (essentially unused) that trigger tsan errors. (crbug/605894)
284) The directories WIN32-Code and WIN32-Prj are not included.
295) The configs for android were copied from Linux's which were very close to
30   android one with the exception of HAVE_FD_MASK and HAVE_STRLCPY.
316) Remove an unnecessary workaround for OS X 10.4 from kqueue.c. It was causing
32   problems on macOS Sierra.
337) Change buffer.c to not redefine _GNU_SOURCE.
348) Change _event_strlcpy in strlcpy.c to not use K&R syntax.
359) Change a bitfield in evhttp.h from int to unsigned int.
36