diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-02-07 12:19:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-02-07 13:17:18 +0000 |
commit | 5ce840b8fea027a77077da7dc2275e150999e6e3 (patch) | |
tree | d85d1981bbc082103f9a109f2ebe779e3b4a6fa4 /testing/firefox/libevent.patch | |
parent | 4777ebdef1e16cc319cbc438a092d1b9492174b8 (diff) | |
download | aports-5ce840b8fea027a77077da7dc2275e150999e6e3.tar.bz2 aports-5ce840b8fea027a77077da7dc2275e150999e6e3.tar.xz |
testing/firefox: rebuild against new libevent
Diffstat (limited to 'testing/firefox/libevent.patch')
-rw-r--r-- | testing/firefox/libevent.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/firefox/libevent.patch b/testing/firefox/libevent.patch new file mode 100644 index 0000000000..3e2a200146 --- /dev/null +++ b/testing/firefox/libevent.patch @@ -0,0 +1,34 @@ +diff --git a/ipc/chromium/src/base/message_pump_libevent.cc b/ipc/chromium/src/base/message_pump_libevent.cc +index 9ce230c..d980f9e 100644 +--- a/ipc/chromium/src/base/message_pump_libevent.cc ++++ b/ipc/chromium/src/base/message_pump_libevent.cc +@@ -18,18 +18,18 @@ + #include "event.h" + #include "mozilla/UniquePtr.h" + +-// This macro checks that the _EVENT_SIZEOF_* constants defined in ++// This macro checks that the EVENT__SIZEOF_* constants defined in + // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct. +-#define CHECK_EVENT_SIZEOF(TYPE, type) \ +- static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \ +- "bad _EVENT_SIZEOF_"#TYPE); +- +-CHECK_EVENT_SIZEOF(LONG, long); +-CHECK_EVENT_SIZEOF(LONG_LONG, long long); +-CHECK_EVENT_SIZEOF(PTHREAD_T, pthread_t); +-CHECK_EVENT_SIZEOF(SHORT, short); +-CHECK_EVENT_SIZEOF(SIZE_T, size_t); +-CHECK_EVENT_SIZEOF(VOID_P, void*); ++#define CHECKEVENT__SIZEOF(TYPE, type) \ ++ static_assert(EVENT__SIZEOF_##TYPE == sizeof(type), \ ++ "bad EVENT__SIZEOF_"#TYPE); ++ ++CHECKEVENT__SIZEOF(LONG, long); ++CHECKEVENT__SIZEOF(LONG_LONG, long long); ++CHECKEVENT__SIZEOF(PTHREAD_T, pthread_t); ++CHECKEVENT__SIZEOF(SHORT, short); ++CHECKEVENT__SIZEOF(SIZE_T, size_t); ++CHECKEVENT__SIZEOF(VOID_P, void*); + + // Lifecycle of struct event + // Libevent uses two main data structures: |