diff options
Diffstat (limited to 'media-libs/openimageio/files')
-rw-r--r-- | media-libs/openimageio/files/CMakeLists.txt.patch | 13 | ||||
-rw-r--r-- | media-libs/openimageio/files/externalpackages.cmake.patch | 11 | ||||
-rw-r--r-- | media-libs/openimageio/files/ivgl_h.patch | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/openimageio/files/CMakeLists.txt.patch b/media-libs/openimageio/files/CMakeLists.txt.patch new file mode 100644 index 00000000..c4f3157a --- /dev/null +++ b/media-libs/openimageio/files/CMakeLists.txt.patch @@ -0,0 +1,13 @@ +--- a/src/libOpenImageIO/CMakeLists.txt ++++ b/src/libOpenImageIO/CMakeLists.txt +@@ -302,6 +302,10 @@ if (EMBEDPLUGINS) + endif () + endif () + ++if (CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) ++ target_link_libraries (OpenImageIO atomic) ++endif () ++ + target_link_libraries (OpenImageIO ${ILMBASE_LIBRARIES}) + + if (USE_EXTERNAL_PUGIXML) diff --git a/media-libs/openimageio/files/externalpackages.cmake.patch b/media-libs/openimageio/files/externalpackages.cmake.patch new file mode 100644 index 00000000..f8386e29 --- /dev/null +++ b/media-libs/openimageio/files/externalpackages.cmake.patch @@ -0,0 +1,11 @@ +--- a/src/cmake/externalpackages.cmake ++++ b/src/cmake/externalpackages.cmake +@@ -103,7 +102,7 @@ + if (NOT USE_STD_REGEX) + list (APPEND Boost_COMPONENTS regex) + endif () +- find_package (Boost 1.53 REQUIRED ++ find_package (Boost 1.69 REQUIRED + COMPONENTS ${Boost_COMPONENTS}) + endif () + diff --git a/media-libs/openimageio/files/ivgl_h.patch b/media-libs/openimageio/files/ivgl_h.patch new file mode 100644 index 00000000..abb370e7 --- /dev/null +++ b/media-libs/openimageio/files/ivgl_h.patch @@ -0,0 +1,12 @@ +--- a/src/iv/ivgl.h ++++ b/src/iv/ivgl.h +@@ -52,6 +52,9 @@ + #include <OpenImageIO/imageio.h> + #include <OpenImageIO/imagebuf.h> + ++#include <GL/glu.h> ++#include <GL/glut.h> ++ + using namespace OIIO; + + class IvImage; |