Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 00:37:31 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467449 - head/graphics/freeimage
Message-ID:  <201804160037.w3G0bV5b019837@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Apr 16 00:37:31 2018
New Revision: 467449
URL: https://svnweb.freebsd.org/changeset/ports/467449

Log:
  graphics/freeimage: unbreak consumers on arm* with NEON
  
  $ echo 'int main() {}' | cc -xc - -o /dev/null -L/usr/local/lib -lfreeimage -lm
  /usr/local/lib/libfreeimage.so: undefined reference to `png_init_filter_functions_neon'
  cc: error: linker command failed with exit code 1 (use -v to see invocation)

Modified:
  head/graphics/freeimage/Makefile   (contents, props changed)

Modified: head/graphics/freeimage/Makefile
==============================================================================
--- head/graphics/freeimage/Makefile	Mon Apr 16 00:30:02 2018	(r467448)
+++ head/graphics/freeimage/Makefile	Mon Apr 16 00:37:31 2018	(r467449)
@@ -3,7 +3,7 @@
 
 PORTNAME=	freeimage
 PORTVERSION=	3.16.0
-PORTREVISION=	4
+PORTREVISION=	5
 # Version 3.17.0 is available, but does not build on i386 (and probably
 # other 32-bit arches) without some not-quite-trivial patching.  If one
 # decides to update the port, please make sure 32-bit builds are tested!
@@ -22,7 +22,7 @@ USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/FreeImage
 MAKE_ARGS=	CC="${CC}" CPP="${CPP}" CXX="${CXX}"
 
-CFLAGS+=	-fexceptions -fvisibility=hidden
+CFLAGS+=	-DPNG_ARM_NEON_OPT=0 -fexceptions -fvisibility=hidden
 CFLAGS_aarch64=	-fPIC
 CFLAGS_amd64=	-fPIC
 CFLAGS_armv7=	-fPIC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804160037.w3G0bV5b019837>