File: png_fix_rpi.patch

package info (click to toggle)
tensorflow 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 277,264 kB
  • sloc: cpp: 1,567,763; python: 657,902; java: 19,101; ansic: 16,326; sh: 10,713; pascal: 8,949; xml: 1,738; objc: 1,208; makefile: 689; cs: 168; perl: 150
file content (16 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -r -u /tmp/libpng-1.6.37/scripts/pnglibconf.h.prebuilt ./scripts/pnglibconf.h.prebuilt
--- /tmp/libpng-1.6.37/scripts/pnglibconf.h.prebuilt    2019-04-14 11:10:32.000000000 -0700
+++ ./scripts/pnglibconf.h.prebuilt     2019-05-21 09:40:52.138528512 -0700
@@ -19,6 +19,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
+
+
 #define PNG_BENIGN_ERRORS_SUPPORTED
 #define PNG_BENIGN_READ_ERRORS_SUPPORTED
 /*#undef PNG_BENIGN_WRITE_ERRORS_SUPPORTED*/