Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2020 19:28:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525441 - head/graphics/py-openexr
Message-ID:  <202002061928.016JSliE048026@repo.freebsd.org>

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



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