Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 21:39:25 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426636 - head/graphics/blender
Message-ID:  <201611202139.uAKLdPPl081978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Nov 20 21:39:25 2016
New Revision: 426636
URL: https://svnweb.freebsd.org/changeset/ports/426636

Log:
  Fix build on 9.3 amd64 after lang/gcc upgrade by switching to USE_GCC=4.8
  
  gcc 4.9 fails to link on 9.3 amd64 with:
  /usr/local/lib/libtinyxml.so: error: undefined reference to 'std::istream::get()'
  /usr/local/lib/libtinyxml.so: error: undefined reference to 'std::__throw_out_of_range(char const*)'
  /usr/local/lib/libtinyxml.so: error: undefined reference to 'std::istream::peek()'
  
  PR:		196712

Modified:
  head/graphics/blender/Makefile

Modified: head/graphics/blender/Makefile
==============================================================================
--- head/graphics/blender/Makefile	Sun Nov 20 21:30:25 2016	(r426635)
+++ head/graphics/blender/Makefile	Sun Nov 20 21:39:25 2016	(r426636)
@@ -213,8 +213,13 @@ BROKEN=	REDCODE requires OPENJPEG and FF
 
 .if ${COMPILER_TYPE} == gcc
 # gcc 4.2 does not support -msse4.1, which is needed for blender 2.70+
+.if ${ARCH} == amd64
+# gcc 4.9 fails to link on amd64
+USE_GCC=	4.8
+.else
 USE_GCC=	yes
 .endif
+.endif
 
 post-patch:
 .if ${PORT_OPTIONS:MOPENCOLORIO}



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