Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385818 Details for
Bug 523840
net-libs/webkit-gtk - add MIPS N32 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debian-fix-mips-build.patch
debian-fix-mips64-build.patch (text/plain), 2.02 KB, created by
Pacho Ramos
on 2014-09-30 10:17:08 UTC
(
hide
)
Description:
debian-fix-mips-build.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2014-09-30 10:17:08 UTC
Size:
2.02 KB
patch
obsolete
>Index: webkitgtk/Source/WTF/wtf/Platform.h >=================================================================== >--- webkitgtk.orig/Source/WTF/wtf/Platform.h >+++ webkitgtk/Source/WTF/wtf/Platform.h >@@ -80,16 +80,20 @@ > #endif > #endif > >-/* CPU(MIPS) - MIPS 32-bit */ >-/* Note: Only O32 ABI is tested, so we enable it for O32 ABI for now. */ >-#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_)) \ >- && defined(_ABIO32) >+/* CPU(MIPS) - MIPS 32-bit and 64-bit */ >+#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_) \ >+ || defined(__mips64)) >+#if defined(__mips64) >+#define WTF_CPU_MIPS64 1 >+#define WTF_MIPS_ARCH __mips64 >+#else > #define WTF_CPU_MIPS 1 >+#define WTF_MIPS_ARCH __mips >+#endif > #if defined(__MIPSEB__) > #define WTF_CPU_BIG_ENDIAN 1 > #endif > #define WTF_MIPS_PIC (defined __PIC__) >-#define WTF_MIPS_ARCH __mips > #define WTF_MIPS_ISA(v) (defined WTF_MIPS_ARCH && WTF_MIPS_ARCH == v) > #define WTF_MIPS_ISA_AT_LEAST(v) (defined WTF_MIPS_ARCH && WTF_MIPS_ARCH >= v) > #define WTF_MIPS_ARCH_REV __mips_isa_rev >@@ -685,6 +689,7 @@ > || CPU(ARM64) \ > || CPU(SPARC64) \ > || CPU(S390X) \ >+ || CPU(MIPS64) \ > || CPU(PPC64) \ > || CPU(PPC64LE) > #define WTF_USE_JSVALUE64 1 >Index: webkitgtk/Source/WTF/wtf/dtoa/utils.h >=================================================================== >--- webkitgtk.orig/Source/WTF/wtf/dtoa/utils.h >+++ webkitgtk/Source/WTF/wtf/dtoa/utils.h >@@ -49,7 +49,7 @@ > defined(__ARMEL__) || \ > defined(_MIPS_ARCH_MIPS32R2) > #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 >-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) >+#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) > #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 > #elif defined(_M_IX86) || defined(__i386__) > #if defined(_WIN32)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523840
:
385582
|
385584
| 385818 |
386280
|
386282