summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h')
-rw-r--r--x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h b/x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h
new file mode 100644
index 00000000000..2ab4226229c
--- /dev/null
+++ b/x11/qt5-qtwebkit/patches/patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h,v 1.1 2014/12/30 17:23:48 adam Exp $
+
+--- Source/WebKit2/Platform/CoreIPC/MessageDecoder.h.orig 2014-04-22 06:56:09.000000000 +0000
++++ Source/WebKit2/Platform/CoreIPC/MessageDecoder.h
+@@ -46,7 +46,7 @@ public:
+ bool isSyncMessage() const;
+ bool shouldDispatchMessageWhenWaitingForSyncReply() const;
+
+-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
++#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
+ void setImportanceAssertion(PassOwnPtr<ImportanceAssertion>);
+ #endif
+
+@@ -57,7 +57,7 @@ private:
+ StringReference m_messageReceiverName;
+ StringReference m_messageName;
+
+-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
++#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
+ OwnPtr<ImportanceAssertion> m_importanceAssertion;
+ #endif
+ };