svn commit: r525441 - head/graphics/py-openexr

Piotr Kubaj pkubaj at FreeBSD.org
Thu Feb 6 19:28:48 UTC 2020


Author: pkubaj
Date: Thu Feb  6 19:28:47 2020
New Revision: 525441
URL: https://svnweb.freebsd.org/changeset/ports/525441

Log:
  graphics/py-openexr: fix build on GCC architectures
  
  Use C++11 compiler:
  /usr/local/include/OpenEXR/half.h:99: error: invalid pure specifier (only `= 0' is allowed) before ';' token
  /usr/local/include/OpenEXR/half.h:102: error: invalid pure specifier (only `= 0' is allowed) before ';' token
  /usr/local/include/OpenEXR/half.h:103: error: invalid pure specifier (only `= 0' is allowed) before ';' token
  /usr/local/include/OpenEXR/half.h:104: error: expected ',' or '...' before '&&' token
  /usr/local/include/OpenEXR/half.h:104: error: invalid constructor; you probably meant 'half (const half&)'
  /usr/local/include/OpenEXR/half.h:104: error: expected ';' before 'noexcept'
  /usr/local/include/OpenEXR/half.h:124: error: invalid pure specifier (only `= 0' is allowed) before ';' token
  /usr/local/include/OpenEXR/half.h:125: error: expected ',' or '...' before '&&' token
  /usr/local/include/OpenEXR/half.h:125: error: expected ';' before 'noexcept'
  /usr/local/include/OpenEXR/half.h:99: error: initializer specified for non-virtual method 'half::half()'
  /usr/local/include/OpenEXR/half.h:102: error: initializer specified for non-virtual method 'half::~half()'
  /usr/local/include/OpenEXR/half.h:103: error: initializer specified for non-virtual method 'half::half(const half&)'
  /usr/local/include/OpenEXR/half.h:124: error: initializer specified for non-virtual method 'half& half::operator=(const half&)'

Modified:
  head/graphics/py-openexr/Makefile

Modified: head/graphics/py-openexr/Makefile
==============================================================================
--- head/graphics/py-openexr/Makefile	Thu Feb  6 19:28:43 2020	(r525440)
+++ head/graphics/py-openexr/Makefile	Thu Feb  6 19:28:47 2020	(r525441)
@@ -15,7 +15,7 @@ COMMENT=	Python module for ILM's OpenEXR image format 
 
 LIB_DEPENDS=	libIlmImf.so:graphics/openexr
 
-USES=		python:2.7
+USES=		compiler:c++11-lang python:2.7
 USE_PYTHON=	distutils autoplist
 
 post-extract:


More information about the svn-ports-head mailing list