gfx/skia/patches/0010-Bug-848491-Re-apply-bug-817356-Patch-Skia-to-recogni.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/patches/0010-Bug-848491-Re-apply-bug-817356-Patch-Skia-to-recogni.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +From: George Wright <gw@gwright.org.uk>
     1.5 +Date: Thu, 25 Apr 2013 20:55:02 -0400
     1.6 +Subject: Bug 848491 - Re-apply bug 817356 - Patch Skia to recognize uppercase PPC/PPC64.
     1.7 +
     1.8 +
     1.9 +diff --git a/gfx/skia/include/core/SkPreConfig.h b/gfx/skia/include/core/SkPreConfig.h
    1.10 +index 11cb223..7e95b99 100644
    1.11 +--- a/gfx/skia/include/core/SkPreConfig.h
    1.12 ++++ b/gfx/skia/include/core/SkPreConfig.h
    1.13 +@@ -99,7 +99,8 @@
    1.14 + //////////////////////////////////////////////////////////////////////
    1.15 + 
    1.16 + #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
    1.17 +-    #if defined (__ppc__) || defined(__ppc64__)
    1.18 ++    #if defined (__ppc__) || defined(__PPC__) || defined(__ppc64__) \
    1.19 ++        || defined(__PPC64__)
    1.20 +         #define SK_CPU_BENDIAN
    1.21 +     #else
    1.22 +         #define SK_CPU_LENDIAN
    1.23 +-- 
    1.24 +1.7.11.7
    1.25 +

mercurial