tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

README.mozilla (1763B)


      1 This is a clean copy of libevent-2.1.12-stable with the following modifications.
      2 
      3 1. Add the following files:
      4 
      5 - android/event2/event-config.h
      6 - bsd/event2/event-config.h
      7 - linux/event2/event-config.h
      8 - mac/event2/event-config.h
      9 - solaris/event2/event-config.h
     10 - evconfig-private.h
     11 
     12 These files are taken from libevent-2.1.12-stable built on the development
     13 environment indicated by the first path component. You have to run
     14 "./configure" and "make" to get all of the pre-processing done. The
     15 event-config.h header can then be found in include/event2/ sub-directory and
     16 evconfig-private.h can be found in the root source directory.
     17 
     18 You then need to modify the EVENT__SIZEOF_* constants in the generated Linux,
     19 Android, and BSD headers to be appropriate for both 32-bit and 64-bit platforms.
     20 Mac doesn't need this since only 64-bit is supported. Use __LP64__ to
     21 distinguish the two cases. If you get something wrong, the CHECK_EVENT_SIZEOF
     22 static assertions in message_pump_libevent.cc will fail. If a new constant is
     23 added, also add a static assertion for it to message_pump_libevent.cc.
     24 
     25 You also need to modify the EVENT__HAVE_ARC4RANDOM and EVENT__HAVE_ARC4RANDOM_BUF
     26 constants in the generated Linux header to account for the results of the arc4random
     27 and arc4random_buf configure checks.
     28 
     29 2. Apply the following patch from ipc/chromium/src/third_party/libevent/patches/:
     30 
     31 - "prevent-use-of-evsig.patch".  Prevents using (via intentional crash) any
     32   of libevent's signal handling code; see bug 1616462.  This isn't strictly
     33   required for functionality but it's a local patch we'd like to retain.
     34 
     35 Additionally, be careful to avoid clobbering changes to the various
     36 event-config.h files which have been customized over time to avoid
     37 various build bustages.