void-packages/srcpkgs/freeimage/patches/disable_arm_neon.patch

20 lines
934 B
Diff

--- fi/Source/LibPNG/pngpriv.h.orig 2015-03-02 01:50:58.000000000 +0100
+++ fi/Source/LibPNG/pngpriv.h 2017-10-24 21:04:35.110537516 +0200
@@ -107,6 +107,7 @@
* this in $(CC), e.g. "CC=gcc -mfpu=neon", but people who build libpng rarely
* do this.
*/
+#define PNG_ARM_NEON_OPT 0
#ifndef PNG_ARM_NEON_OPT
/* ARM NEON optimizations are being controlled by the compiler settings,
* typically the target FPU. If the FPU has been set to NEON (-mfpu=neon
--- fip/Source/LibPNG/pngpriv.h.orig 2015-03-02 01:50:58.000000000 +0100
+++ fip/Source/LibPNG/pngpriv.h 2017-10-24 21:04:35.110537516 +0200
@@ -107,6 +107,7 @@
* this in $(CC), e.g. "CC=gcc -mfpu=neon", but people who build libpng rarely
* do this.
*/
+#define PNG_ARM_NEON_OPT 0
#ifndef PNG_ARM_NEON_OPT
/* ARM NEON optimizations are being controlled by the compiler settings,
* typically the target FPU. If the FPU has been set to NEON (-mfpu=neon