git: a00b2df8147b - main - graphics/py-openimageio: Unbreak by using the c++17 flag

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 14 May 2024 17:57:19 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a00b2df8147b276624589bda02daf32b1c507e3d

commit a00b2df8147b276624589bda02daf32b1c507e3d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-14 17:54:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-14 17:57:17 +0000

    graphics/py-openimageio: Unbreak by using the c++17 flag
    
    Approved by:    portmgr (blanket unbreak)
---
 graphics/openimageio/Makefile    | 1 +
 graphics/py-openimageio/Makefile | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index d8bca464c473..047b9401446f 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -39,6 +39,7 @@ GH_PROJECT=	oiio
 CMAKE_OFF=	BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \
 		STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA \
 		USE_Package
+CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17 # OpenVDB uses the C++17 STL feature std::tuple_size_v; since the slave port py-openimageio excludes options - this is a global line here
 
 OPTIONS_DEFINE=		DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \
 			OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB
diff --git a/graphics/py-openimageio/Makefile b/graphics/py-openimageio/Makefile
index 4d2e4eaf0dbd..90cf0342bb59 100644
--- a/graphics/py-openimageio/Makefile
+++ b/graphics/py-openimageio/Makefile
@@ -4,8 +4,6 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 COMMENT=	OpenImageIO python bindings
 
-BROKEN=		broken due to OpenVDB using undefined STL function std::tuple_size_v, see https://github.com/AcademySoftwareFoundation/openvdb/issues/1814
-
 MASTERDIR=	${.CURDIR}/../openimageio
 OPTIONS_EXCLUDE=${OPTIONS_DEFINE}