summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-04-27 13:38:18 +0000
committerryoon <ryoon@pkgsrc.org>2017-04-27 13:38:18 +0000
commitf252193acac494999c6e8b12495bb2980192b113 (patch)
tree80b8e2ca1b43e35740f8c0d5133f6a1afefa4e6f /mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc
parent92e8a631ebb2ce6cd34f9c4c5e1f2b4c4a4d990b (diff)
downloadpkgsrc-f252193acac494999c6e8b12495bb2980192b113.tar.gz
Import thunderbird45-45.8.0 as mail/thunderbird45.
Mozilla Thunderbird is a redesign of the Mozilla mail component. The goal is to produce a cross platform stand alone mail application using the XUL user interface language. This version uses the gtk2 toolkit.
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc38
1 files changed, 38 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc b/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc
new file mode 100644
index 00000000000..2c639ff0502
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc
@@ -0,0 +1,38 @@
+$NetBSD: patch-mozilla_ipc_chromium_src_base_message__loop.cc,v 1.1 2017/04/27 13:38:18 ryoon Exp $
+
+--- mozilla/ipc/chromium/src/base/message_loop.cc.orig 2016-04-07 21:33:19.000000000 +0000
++++ mozilla/ipc/chromium/src/base/message_loop.cc
+@@ -13,20 +13,18 @@
+ #include "base/string_util.h"
+ #include "base/thread_local.h"
+
+-#if defined(OS_MACOSX)
++#if defined(MOZ_WIDGET_COCOA)
+ #include "base/message_pump_mac.h"
+ #endif
+ #if defined(OS_POSIX)
+ #include "base/message_pump_libevent.h"
+ #endif
+-#if defined(OS_LINUX) || defined(OS_BSD)
+ #if defined(MOZ_WIDGET_GTK)
+ #include "base/message_pump_glib.h"
+ #endif
+ #ifdef MOZ_WIDGET_QT
+ #include "base/message_pump_qt.h"
+ #endif
+-#endif
+ #ifdef ANDROID
+ #include "base/message_pump_android.h"
+ #endif
+@@ -143,9 +141,9 @@ MessageLoop::MessageLoop(Type type)
+ }
+ #elif defined(OS_POSIX)
+ if (type_ == TYPE_UI) {
+-#if defined(OS_MACOSX)
++#if defined(MOZ_WIDGET_COCOA)
+ pump_ = base::MessagePumpMac::Create();
+-#elif defined(OS_LINUX) || defined(OS_BSD)
++#elif defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
+ pump_ = new base::MessagePumpForUI();
+ #endif // OS_LINUX
+ } else if (type_ == TYPE_IO) {