summaryrefslogtreecommitdiff
path: root/third_party/libpng/0001-disable-arm-neon.patch
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-15 12:20:27 -0800
committerLei Zhang <thestig@chromium.org>2016-01-15 12:20:27 -0800
commitfa92864d257f57e5afdc0a36eafad8f2575c528a (patch)
treed792e53ea13f87d1fa2995127c864621b7701146 /third_party/libpng/0001-disable-arm-neon.patch
parent45f2a47df2d6505c351ee0586969bf142c93bf6b (diff)
downloadpdfium-fa92864d257f57e5afdc0a36eafad8f2575c528a.tar.xz
XFA: Upgrade libpng to 1.6.20.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1591483003 .
Diffstat (limited to 'third_party/libpng/0001-disable-arm-neon.patch')
-rw-r--r--third_party/libpng/0001-disable-arm-neon.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/libpng/0001-disable-arm-neon.patch b/third_party/libpng/0001-disable-arm-neon.patch
new file mode 100644
index 0000000000..b5105f755f
--- /dev/null
+++ b/third_party/libpng/0001-disable-arm-neon.patch
@@ -0,0 +1,12 @@
+diff a/third_party/libpng/pngpriv.h b/third_party/libpng/pngpriv.h
+--- a/third_party/libpng/pngpriv.h
++++ b/third_party/libpng/pngpriv.h
+@@ -127,7 +127,7 @@
+ */
+ # if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
+ defined(PNG_ALIGNED_MEMORY_SUPPORTED)
+-# define PNG_ARM_NEON_OPT 2
++# define PNG_ARM_NEON_OPT 0
+ # else
+ # define PNG_ARM_NEON_OPT 0
+ # endif