From 0d97705512a6f3c227576702fcb0a8481688e1c4 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 6 Feb 2020 19:28:47 +0000 Subject: [PATCH] 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&)' --- graphics/py-openexr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/py-openexr/Makefile b/graphics/py-openexr/Makefile index 0c1bd353bd52..3ad6ad33461e 100644 --- a/graphics/py-openexr/Makefile +++ b/graphics/py-openexr/Makefile @@ -15,7 +15,7 @@ COMMENT= Python module for ILM's OpenEXR image format and library LIB_DEPENDS= libIlmImf.so:graphics/openexr -USES= python:2.7 +USES= compiler:c++11-lang python:2.7 USE_PYTHON= distutils autoplist post-extract: