Add the missing goo to allow webkit to build on hppa, opening the can of

worms for a whole bunch of new ports there.
This commit is contained in:
landry 2012-10-07 09:24:18 +00:00
parent 6b7e839f39
commit e873e2ac85
2 changed files with 23 additions and 9 deletions

View File

@ -1,9 +1,10 @@
$OpenBSD: patch-Source_JavaScriptCore_wtf_Platform_h,v 1.5 2012/08/07 09:35:38 landry Exp $
$OpenBSD: patch-Source_JavaScriptCore_wtf_Platform_h,v 1.6 2012/10/07 09:24:18 landry Exp $
Allow webkit to build and run on mips64
Recognize hppa
--- Source/JavaScriptCore/wtf/Platform.h.orig Wed Aug 1 09:55:05 2012
+++ Source/JavaScriptCore/wtf/Platform.h Fri Aug 3 16:33:41 2012
--- Source/JavaScriptCore/wtf/Platform.h.orig Mon Aug 20 10:30:25 2012
+++ Source/JavaScriptCore/wtf/Platform.h Sat Oct 6 02:51:40 2012
@@ -76,9 +76,14 @@
/* CPU(MIPS) - MIPS 32-bit */
@ -21,7 +22,19 @@ Allow webkit to build and run on mips64
#if defined(__MIPSEB__)
#define WTF_CPU_BIG_ENDIAN 1
#endif
@@ -295,7 +300,7 @@
@@ -118,6 +123,11 @@
#define WTF_CPU_SH4 1
#endif
+/* CPU(HPPA) - HP-PA */
+#if defined(__hppa__)
+#define WTF_CPU_HPPA 1
+#endif
+
/* CPU(SPARC32) - SPARC 32-bit */
#if defined(__sparc) && !defined(__arch64__) || defined(__sparcv8)
#define WTF_CPU_SPARC32 1
@@ -295,7 +305,7 @@
#endif /* ARM */
@ -30,7 +43,7 @@ Allow webkit to build and run on mips64
#define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
#endif
@@ -899,7 +904,8 @@
@@ -899,7 +909,8 @@
|| CPU(ALPHA) \
|| CPU(SPARC64) \
|| CPU(S390X) \

View File

@ -1,12 +1,13 @@
$OpenBSD: patch-Source_JavaScriptCore_wtf_dtoa_utils_h,v 1.3 2012/04/03 15:39:35 landry Exp $
--- Source/JavaScriptCore/wtf/dtoa/utils.h.orig Wed Feb 22 20:32:53 2012
+++ Source/JavaScriptCore/wtf/dtoa/utils.h Sat Mar 31 09:22:09 2012
$OpenBSD: patch-Source_JavaScriptCore_wtf_dtoa_utils_h,v 1.4 2012/10/07 09:24:18 landry Exp $
allow mips64/sparc64/hppa to go further
--- Source/JavaScriptCore/wtf/dtoa/utils.h.orig Mon Aug 20 10:26:05 2012
+++ Source/JavaScriptCore/wtf/dtoa/utils.h Sat Oct 6 02:52:04 2012
@@ -49,7 +49,7 @@
defined(__ARMEL__) || \
defined(_MIPS_ARCH_MIPS32R2)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA)
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(MIPS64) || CPU(SPARC64) || CPU(ALPHA)
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(MIPS64) || CPU(SPARC64) || CPU(HPPA) || CPU(ALPHA)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(_M_IX86) || defined(__i386__)
#if defined(_WIN32)