Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2016 23:59:55 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r406082 - branches/2016Q1/graphics/gdal
Message-ID:  <201601132359.u0DNxtu7057171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jan 13 23:59:54 2016
New Revision: 406082
URL: https://svnweb.freebsd.org/changeset/ports/406082

Log:
  MFH: r406052
  
  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
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2016Q1/graphics/gdal/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/graphics/gdal/Makefile
==============================================================================
--- branches/2016Q1/graphics/gdal/Makefile	Wed Jan 13 23:57:52 2016	(r406081)
+++ branches/2016Q1/graphics/gdal/Makefile	Wed Jan 13 23:59:54 2016	(r406082)
@@ -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?201601132359.u0DNxtu7057171>