eva         14/12/22 23:41:53

  Added:                webkit-gtk-2.6.0-hppa-platform.patch
                        webkit-gtk-2.6.0-ia64-platform.patch
                        webkit-gtk-2.6.0-ia64-malloc.patch
                        webkit-gtk-2.6.0-atomic-ppc.patch
  Log:
  Version bump for Gnome 3.14. Build system switched to cmake.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
C6085806)

Revision  Changes    Path
1.1                  
net-libs/webkit-gtk/files/webkit-gtk-2.6.0-hppa-platform.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-hppa-platform.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-hppa-platform.patch?rev=1.1&content-type=text/plain

Index: webkit-gtk-2.6.0-hppa-platform.patch
===================================================================
>From 8ba68225e9ad35958197aacc03a7a1716741b14c Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <[email protected]>
Date: Sun, 19 Oct 2014 19:37:40 +0200
Subject: [PATCH 1/4] Fix support for HPPA

Debian patches to fix support for some arches
https://bugs.webkit.org/show_bug.cgi?id=129540
---
 Source/WTF/wtf/Platform.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
index 7712ddb..65f1379 100644
--- a/Source/WTF/wtf/Platform.h
+++ b/Source/WTF/wtf/Platform.h
@@ -71,6 +71,15 @@
 #define WTF_CPU_BIG_ENDIAN 1
 #endif
 
+/* CPU(HPPA) - HP PARISC */
+#if defined(__hppa__)
+#define WTF_CPU_HPPA 1
+#define WTF_CPU_BIG_ENDIAN 1
+#define ENABLE_JIT 0
+#define ENABLE_YARR_JIT 0
+#define ENABLE_ASSEMBLER 0
+#endif
+
 /* CPU(IA64) - Itanium / IA-64 */
 #if defined(__ia64__)
 #define WTF_CPU_IA64 1
-- 
2.1.2




1.1                  
net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-platform.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-platform.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-platform.patch?rev=1.1&content-type=text/plain

Index: webkit-gtk-2.6.0-ia64-platform.patch
===================================================================
>From d98ac8c1040318e648f8417fa5ca6df66cc00b35 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <[email protected]>
Date: Sun, 19 Oct 2014 19:38:18 +0200
Subject: [PATCH 2/4] Fix support for IA64

---
 Source/WTF/wtf/Platform.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
index 65f1379..d9afcd7 100644
--- a/Source/WTF/wtf/Platform.h
+++ b/Source/WTF/wtf/Platform.h
@@ -87,6 +87,9 @@
 #if !defined(__LP64__)
 #define WTF_CPU_IA64_32 1
 #endif
+#define ENABLE_JIT 0
+#define ENABLE_YARR_JIT 0
+#define ENABLE_ASSEMBLER 0
 #endif
 
 /* CPU(MIPS) - MIPS 32-bit */
-- 
2.1.2




1.1                  
net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-malloc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-malloc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-ia64-malloc.patch?rev=1.1&content-type=text/plain

Index: webkit-gtk-2.6.0-ia64-malloc.patch
===================================================================
>From 9348d1c7fbbd9fcbb1702c0c6d81c723ec0b6879 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <[email protected]>
Date: Sun, 19 Oct 2014 19:40:21 +0200
Subject: [PATCH 3/4] Use system malloc for IA64

https://bugs.webkit.org/show_bug.cgi?id=129542
---
 Source/WTF/wtf/Platform.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
index d9afcd7..c4cf1d2 100644
--- a/Source/WTF/wtf/Platform.h
+++ b/Source/WTF/wtf/Platform.h
@@ -662,6 +662,13 @@
 #endif
 #endif /* !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32_64) */
 
+/* FIXME: The fast malloc implementation is broken on Itanium / IA64 because
+   some memory barriers are missing in the thread-unsafe code around the
+   pagemap_cache_ object. */
+#if CPU(IA64) || CPU(IA64_32)
+#define USE_SYSTEM_MALLOC 1
+#endif
+
 /* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms 
except ARMv7k and Windows. */
 #if !defined(ENABLE_JIT) \
     && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)) \
-- 
2.1.2




1.1                  net-libs/webkit-gtk/files/webkit-gtk-2.6.0-atomic-ppc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-atomic-ppc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-2.6.0-atomic-ppc.patch?rev=1.1&content-type=text/plain

Index: webkit-gtk-2.6.0-atomic-ppc.patch
===================================================================
>From 7960c437511c650ad33708f4e42457118d95a13d Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <[email protected]>
Date: Sun, 19 Oct 2014 19:43:09 +0200
Subject: [PATCH 4/4] Do not use std::atomic on PPC

$OpenBSD: patch-Source_WebKit2_Platform_IPC_Connection_h,v 1.2 2014/07/14 
21:13:31 ajacoutot Exp $

https://bugs.webkit.org/show_bug.cgi?id=130837
---
 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 b52cf1e..5597e94 100644
--- a/Source/WebKit2/Platform/IPC/Connection.h
+++ b/Source/WebKit2/Platform/IPC/Connection.h
@@ -233,7 +233,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 bc0a1e6..ef259d1 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);
-- 
2.1.2





Reply via email to