svn commit: r426636 - head/graphics/blender

Antoine Brodin antoine at FreeBSD.org
Sun Nov 20 21:39:26 UTC 2016


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}


More information about the svn-ports-head mailing list