freeimage: disable ARM NEON

This commit is contained in:
newbluemoon 2018-08-07 10:32:18 +02:00 committed by Helmut Pozimski
parent 961cfaedab
commit 078c5f2085
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
--- 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

View file

@ -1,7 +1,7 @@
# Template file for 'freeimage'
pkgname=freeimage
version=3.18.0
revision=1
revision=2
wrksrc=FreeImage
build_style=gnu-makefile
hostmakedepends="unzip"