svn commit: r406052 - head/graphics/gdal

Pawel Pekala pawel at FreeBSD.org
Wed Jan 13 15:52:18 UTC 2016


Author: pawel
Date: Wed Jan 13 15:52:17 2016
New Revision: 406052
URL: https://svnweb.freebsd.org/changeset/ports/406052

Log:
  Fix build on FreeBSD 9.x
  
  gdaldither.cpp: In function 'int FindNearestColor(int, int*, int, int, int)':
  gdaldither.cpp:534: note: use -flax-vector-conversions to permit conversions
  between vectors with differing element types or numbers of subparts
  gdaldither.cpp:534: error: cannot convert 'int __vector__' to 'long long int
   __vector__' for argument '1' to 'long long int __vector__
   __builtin_ia32_psrlqi128(long long int __vector__, int)'
  gdaldither.cpp:539: error: cannot convert 'int __vector__' to 'long long int
   __vector__' for argument '1' to 'long long int __vector__
   __builtin_ia32_psrlqi128(long long int __vector__, int)'
  ../GDALmake.opt:582: recipe for target 'gdaldither.o' failed
  gmake[1]: *** [gdaldither.o] Error 1
  
  PR:		205701
  Submitted by:	myself
  Approved by:	maintainer timeout

Modified:
  head/graphics/gdal/Makefile

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Wed Jan 13 15:42:39 2016	(r406051)
+++ head/graphics/gdal/Makefile	Wed Jan 13 15:52:17 2016	(r406052)
@@ -30,7 +30,7 @@ OPTIONS_RADIO_PDF=	PODOFO POPPLER
 PCRE_DESC=	Regular expression support for SQLite
 SPATIALITE_DESC=SpatiaLite support
 
-CFLAGS+=	-fPIC
+CFLAGS+=	-fPIC -flax-vector-conversions
 CONFIGURE_ARGS=	--datadir=${DATADIR} \
 		--enable-static=yes \
 		--with-geotiff=${LOCALBASE} \


More information about the svn-ports-head mailing list