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

21 lines
948 B
Diff
Raw Normal View History

2018-08-07 10:32:18 +02:00
--- fi/Source/LibPNG/pngpriv.h.orig 2018-07-16 11:58:00.000000000 +0200
+++ fi/Source/LibPNG/pngpriv.h 2018-08-07 10:15:53.827327997 +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 2018-07-16 11:58:00.000000000 +0200
+++ fip/Source/LibPNG/pngpriv.h 2018-08-07 10:15:53.827327997 +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