diff options
author | Marcin Juszkiewicz <mjuszkiewicz@redhat.com> | 2015-03-31 14:18:06 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <mjuszkiewicz@redhat.com> | 2015-03-31 14:18:06 +0200 |
commit | d4be59b85067744001ff2d7ebfac6c5f017062be (patch) | |
tree | 9a6871e4890545c02fd2e8e736d42c9209d6eebf /aarch64-fix-skia.patch | |
parent | Added tooltip patch (mozbz#1144643) (diff) | |
download | librewolf-fedora-ff-d4be59b85067744001ff2d7ebfac6c5f017062be.tar.gz librewolf-fedora-ff-d4be59b85067744001ff2d7ebfac6c5f017062be.tar.bz2 librewolf-fedora-ff-d4be59b85067744001ff2d7ebfac6c5f017062be.zip |
Fix build on AArch64 (based on upstream skia changes)
Diffstat (limited to 'aarch64-fix-skia.patch')
-rw-r--r-- | aarch64-fix-skia.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/aarch64-fix-skia.patch b/aarch64-fix-skia.patch new file mode 100644 index 0000000..4b9958d --- /dev/null +++ b/aarch64-fix-skia.patch @@ -0,0 +1,18 @@ +Based on https://github.com/google/skia/commit/b79ff56de23fef680ae7187040f2d6a9516b553d + +Index: mozilla-release/gfx/skia/trunk/src/core/SkUtilsArm.h +=================================================================== +--- mozilla-release.orig/gfx/skia/trunk/src/core/SkUtilsArm.h ++++ mozilla-release/gfx/skia/trunk/src/core/SkUtilsArm.h +@@ -21,9 +21,9 @@ + #define SK_ARM_NEON_MODE_ALWAYS 1 + #define SK_ARM_NEON_MODE_DYNAMIC 2 + +-#if defined(SK_CPU_ARM32) && defined(__ARM_HAVE_OPTIONAL_NEON_SUPPORT) ++#if defined(__ARM_HAVE_OPTIONAL_NEON_SUPPORT) + # define SK_ARM_NEON_MODE SK_ARM_NEON_MODE_DYNAMIC +-#elif defined(SK_CPU_ARM32) && defined(__ARM_HAVE_NEON) || defined(SK_CPU_ARM64) ++#elif defined(__ARM_HAVE_NEON) + # define SK_ARM_NEON_MODE SK_ARM_NEON_MODE_ALWAYS + #else + # define SK_ARM_NEON_MODE SK_ARM_NEON_MODE_NONE |