Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2016 15:52:17 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406052 - head/graphics/gdal
Message-ID:  <201601131552.u0DFqHNj012387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



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