diff options
Diffstat (limited to 'third_party/png_fix_rpi.patch')
-rw-r--r-- | third_party/png_fix_rpi.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/png_fix_rpi.patch b/third_party/png_fix_rpi.patch new file mode 100644 index 0000000000..80da7b3c06 --- /dev/null +++ b/third_party/png_fix_rpi.patch @@ -0,0 +1,16 @@ +diff -r -u /tmp/libpng-1.6.34/scripts/pnglibconf.h.prebuilt ./scripts/pnglibconf.h.prebuilt +--- /tmp/libpng-1.6.34/scripts/pnglibconf.h.prebuilt 2017-09-29 01:42:33.000000000 -0700 ++++ ./scripts/pnglibconf.h.prebuilt 2018-05-01 09:51:24.719318242 -0700 +@@ -20,6 +20,12 @@ + #define PNG_ALIGNED_MEMORY_SUPPORTED + /*#undef PNG_ARM_NEON_API_SUPPORTED*/ + /*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/ ++ ++/* Workaround not having a great build file by forcing ++ * png filter optimization to be disabled on arm */ ++#define PNG_ARM_NEON_OPT 0 ++ ++ + /*#undef PNG_POWERPC_VSX_API_SUPPORTED*/ + /*#undef PNG_POWERPC_VSX_CHECK_SUPPORTED*/ + #define PNG_BENIGN_ERRORS_SUPPORTED |