diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-15 19:38:03 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-15 19:38:03 -0800 |
commit | a76a6d8bcb76077fa248b64c5d64791dc8f23771 (patch) | |
tree | 1ea7c74990f4ca926ca61f29fc63831e23303521 /third_party/libpng16/0001-disable-arm-neon.patch | |
parent | 2991d8d171e917912fd250c3c8ed693568dc1d8c (diff) | |
download | pdfium-a76a6d8bcb76077fa248b64c5d64791dc8f23771.tar.xz |
XFA: Rename libpng to libpng16.chromium/2625chromium/2624
Otherwise this conflicts with Chromium's copy if the include paths just
happens to be in the wrong order. Since the two copies of libpng are of
different versions, we cannot use Chromium's copy.
TBR=tsepez@chromium.org,ochang@chromium.org
Review URL: https://codereview.chromium.org/1599513004 .
Diffstat (limited to 'third_party/libpng16/0001-disable-arm-neon.patch')
-rw-r--r-- | third_party/libpng16/0001-disable-arm-neon.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/libpng16/0001-disable-arm-neon.patch b/third_party/libpng16/0001-disable-arm-neon.patch new file mode 100644 index 0000000000..91616bbf84 --- /dev/null +++ b/third_party/libpng16/0001-disable-arm-neon.patch @@ -0,0 +1,12 @@ +diff a/third_party/libpng16/pngpriv.h b/third_party/libpng16/pngpriv.h +--- a/third_party/libpng16/pngpriv.h ++++ b/third_party/libpng16/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 |