linux: Bump default to version 4.5.4
[buildroot-gz.git] / package / webkitgtk24 / 0001-fix-ppc32.patch
blobc655a0ecf4bb2575024fa674ee11e4b8d7538e92
1 From https://bugs.webkit.org/show_bug.cgi?id=130837
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 diff -Nura webkitgtk-2.4.8/Source/WebKit2/Platform/IPC/Connection.h webkitgtk-2.4.8-ppc/Source/WebKit2/Platform/IPC/Connection.h
6 --- webkitgtk-2.4.8/Source/WebKit2/Platform/IPC/Connection.h 2015-01-07 06:45:43.000000000 -0300
7 +++ webkitgtk-2.4.8-ppc/Source/WebKit2/Platform/IPC/Connection.h 2015-04-20 01:55:41.554547510 -0300
8 @@ -216,7 +216,11 @@
10 Client* m_client;
11 bool m_isServer;
12 +#if CPU(PPC)
13 + uint64_t m_syncRequestID;
14 +#else
15 std::atomic<uint64_t> m_syncRequestID;
16 +#endif
18 bool m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage;
19 bool m_shouldExitOnSyncMessageSendFailure;
20 diff -Nura webkitgtk-2.4.8/Source/WebKit2/UIProcess/StatisticsRequest.cpp webkitgtk-2.4.8-ppc/Source/WebKit2/UIProcess/StatisticsRequest.cpp
21 --- webkitgtk-2.4.8/Source/WebKit2/UIProcess/StatisticsRequest.cpp 2015-01-07 06:45:43.000000000 -0300
22 +++ webkitgtk-2.4.8-ppc/Source/WebKit2/UIProcess/StatisticsRequest.cpp 2015-04-20 01:55:41.555547544 -0300
23 @@ -44,7 +44,11 @@
25 uint64_t StatisticsRequest::addOutstandingRequest()
27 +#if CPU(PPC)
28 + static int64_t uniqueRequestID;
29 +#else
30 static std::atomic<int64_t> uniqueRequestID;
31 +#endif
33 uint64_t requestID = ++uniqueRequestID;
34 m_outstandingRequests.add(requestID);