irrlicht: disable ARM Neon in libpng

This commit is contained in:
newbluemoon 2017-10-25 08:23:39 +02:00 committed by Enno Boland
parent 890fff51f6
commit fc1ddb1a5d
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'irrlicht' # Template file for 'irrlicht'
pkgname=irrlicht pkgname=irrlicht
version=1.8.4 version=1.8.4
revision=1 revision=2
hostmakedepends="unzip pkg-config" hostmakedepends="unzip pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel MesaLib-devel" makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel MesaLib-devel"
short_desc="Lightning fast realtime 3D engine" short_desc="Lightning fast realtime 3D engine"
@ -10,6 +10,7 @@ license="LGPL-2.1"
homepage="http://irrlicht.sourceforge.net" homepage="http://irrlicht.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433 checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
CXXFLAGS="-Wno-error=narrowing" CXXFLAGS="-Wno-error=narrowing"