Skip to content

Commit

Permalink
graphics/py-openimageio: Unbreak by using the c++17 flag
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket unbreak)
  • Loading branch information
yurivict committed May 14, 2024
1 parent 652622a commit a00b2df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions graphics/openimageio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions graphics/py-openimageio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit a00b2df

Please sign in to comment.