Hi.

I was told to send the webkit patch anyway. This patch will unbreak the build of webkit-1.6.1 on loongson, however 'make install' is still broken due to ffmpeg being broken like I mentioned earlier. This patch should replace the current patches/patch-Source_JavaScriptCore_wtf_dtoa_utils_h

Thanks.

~Brian

$OpenBSD$
--- Source/JavaScriptCore/wtf/dtoa/utils.h.orig Mon Sep 26 16:54:57 2011
+++ Source/JavaScriptCore/wtf/dtoa/utils.h      Wed Jan 18 16:03:40 2012
@@ -47,9 +47,10 @@
 // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
 #if defined(_M_X64) || defined(__x86_64__) || \
 defined(__ARMEL__) || \
-defined(_MIPS_ARCH_MIPS32R2)
+defined(_MIPS_ARCH_MIPS32R2) || \
+defined(__MIPSEL__)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4)
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(SPARC64)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
 #elif defined(_M_IX86) || defined(__i386__)
 #if defined(_WIN32)

Reply via email to