summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc b/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc
new file mode 100644
index 00000000000..a725689ae48
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc
@@ -0,0 +1,20 @@
+$NetBSD: patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc,v 1.1 2017/04/27 13:38:18 ryoon Exp $
+
+--- mozilla/ipc/chromium/src/base/message_pump_libevent.cc.orig 2017-03-05 20:58:25.000000000 +0000
++++ mozilla/ipc/chromium/src/base/message_pump_libevent.cc
+@@ -20,6 +20,7 @@
+
+ // This macro checks that the _EVENT_SIZEOF_* constants defined in
+ // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct.
++#if 0
+ #if defined(_EVENT_SIZEOF_SHORT)
+ #define CHECK_EVENT_SIZEOF(TYPE, type) \
+ static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
+@@ -38,6 +39,7 @@ 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*);
++#endif
+
+ // Lifecycle of struct event
+ // Libevent uses two main data structures: