diff options
author | Landry Breuil <landry@rhaalovely.net> | 2014-03-27 23:04:11 +0100 |
---|---|---|
committer | Landry Breuil <landry@rhaalovely.net> | 2014-03-27 23:04:11 +0100 |
commit | d6580f5aee1949771501bde6bf51ad8580c3aabe (patch) | |
tree | 47ba6c54c7dc9dd9e4b230a6ad7f400d65669c09 /patches | |
parent | 8aa61ddd69b1273466f922d2e79c076cbef20875 (diff) |
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patch-Source_WebKit2_Platform_IPC_Connection_h | 16 | ||||
-rw-r--r-- | patches/patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/patches/patch-Source_WebKit2_Platform_IPC_Connection_h b/patches/patch-Source_WebKit2_Platform_IPC_Connection_h new file mode 100644 index 0000000..a7b2742 --- /dev/null +++ b/patches/patch-Source_WebKit2_Platform_IPC_Connection_h @@ -0,0 +1,16 @@ +$OpenBSD: patch-Source_WebKit2_Platform_IPC_Connection_h,v 1.1 2014/03/27 22:03:48 landry Exp $ +https://bugs.webkit.org/show_bug.cgi?id=130837 +--- Source/WebKit2/Platform/IPC/Connection.h.orig Thu Mar 27 14:18:17 2014 ++++ Source/WebKit2/Platform/IPC/Connection.h Thu Mar 27 14:20:13 2014 +@@ -211,7 +211,11 @@ class Connection : public ThreadSafeRefCounted<Connect + + Client* m_client; + bool m_isServer; ++#if CPU(PPC) ++ uint64_t m_syncRequestID; ++#else + std::atomic<uint64_t> m_syncRequestID; ++#endif + + bool m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage; + bool m_shouldExitOnSyncMessageSendFailure; diff --git a/patches/patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp b/patches/patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp new file mode 100644 index 0000000..512517b --- /dev/null +++ b/patches/patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp @@ -0,0 +1,16 @@ +$OpenBSD: patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp,v 1.3 2014/03/27 22:03:48 landry Exp $ +https://bugs.webkit.org/show_bug.cgi?id=130837 +--- Source/WebKit2/UIProcess/StatisticsRequest.cpp.orig Thu Mar 27 21:13:49 2014 ++++ Source/WebKit2/UIProcess/StatisticsRequest.cpp Thu Mar 27 21:14:23 2014 +@@ -44,7 +44,11 @@ StatisticsRequest::~StatisticsRequest() + + uint64_t StatisticsRequest::addOutstandingRequest() + { ++#if CPU(PPC) ++ static int64_t uniqueRequestID; ++#else + static std::atomic<int64_t> uniqueRequestID; ++#endif + + uint64_t requestID = ++uniqueRequestID; + m_outstandingRequests.add(requestID); |