File webkitgtk-ppc32.patch of Package webkitgtk

From 4cf6f716f227829b66c60e5dffda4d57d98536a6 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Mon, 4 Aug 2014 09:49:34 +0000
Subject: [PATCH] fix ppc32 build

---
 Source/WebKit2/Platform/IPC/Connection.h       | 4 ++++
 Source/WebKit2/UIProcess/StatisticsRequest.cpp | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/Source/WebKit2/Platform/IPC/Connection.h b/Source/WebKit2/Platform/IPC/Connection.h
index 92df268..18bdc81 100644
--- a/Source/WebKit2/Platform/IPC/Connection.h
+++ b/Source/WebKit2/Platform/IPC/Connection.h
@@ -216,7 +216,11 @@ private:
 
     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/Source/WebKit2/UIProcess/StatisticsRequest.cpp b/Source/WebKit2/UIProcess/StatisticsRequest.cpp
index 3223da5..f8ed21a 100644
--- a/Source/WebKit2/UIProcess/StatisticsRequest.cpp
+++ b/Source/WebKit2/UIProcess/StatisticsRequest.cpp
@@ -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);
-- 
1.7.12.4