Bug 817356 - Patch SKIA to recognize uppercase PPC/PPC64. r=gwright

This commit is contained in:
Steve Singer 2013-03-11 20:24:52 -04:00
parent 7d64b3ca6c
commit d85c955c65
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Index: gfx/skia/include/core/SkPreConfig.h
===================================================================
--- gfx/skia/include/core/SkPreConfig.h (revision 6724)
+++ gfx/skia/include/core/SkPreConfig.h (working copy)
@@ -94,7 +94,8 @@
//////////////////////////////////////////////////////////////////////
#if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
- #if defined (__ppc__) || defined(__ppc64__)
+ #if defined (__ppc__) || defined(__PPC__) || defined(__ppc64__) \
+ || defined(__PPC64__)
#define SK_CPU_BENDIAN
#else
#define SK_CPU_LENDIAN

View File

@ -7,6 +7,7 @@ See the relevant bugs in bugzilla for information on these patches:
0004-Bug-777614-Re-apply-bug-719872-Fix-crash-on-Android-.patch
0005-Bug-777614-Re-apply-bug-687188-Expand-the-gradient-c.patch
0009-Bug-777614-Re-apply-759683-Handle-compilers-that-don.patch
0018-Bug-817356-PPC-defines.patch
0010-Bug-836892-Add-new-blending-modes-to-SkXfermode.patch
0011-Bug-839347-no-anon-namespace-around-SkNO_RETURN_HINT.patch
0012-Bug-751418-Add-our-own-GrUserConfig-r-mattwoodrow.patch