summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-10-01 11:24:50 +0000
committerSam James <sam@gentoo.org>2020-10-08 20:16:30 +0000
commita74a1df3530a8d5abbedef5635d7eeae05310990 (patch)
tree8521358809433fa9f28ee45780efb9a044d8b4ac /media-libs/openimageio/files
parentdev-cpp/robin-map: new package (fast robinhood hashing in c++) (diff)
downloadgentoo-a74a1df3530a8d5abbedef5635d7eeae05310990.tar.gz
gentoo-a74a1df3530a8d5abbedef5635d7eeae05310990.tar.bz2
gentoo-a74a1df3530a8d5abbedef5635d7eeae05310990.zip
media-libs/openimageio: version bump
new maintainer with science keyword ppc64 on closing of Bug: https://bugs.gentoo.org/746011 Bug: https://bugs.gentoo.org/746014 Bug: https://bugs.gentoo.org/745783 Closes: https://bugs.gentoo.org/678294 Closes: https://bugs.gentoo.org/735598 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/17728 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/openimageio/files')
-rw-r--r--media-libs/openimageio/files/openimageio-2.2.6.1-pugixml.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/openimageio/files/openimageio-2.2.6.1-pugixml.patch b/media-libs/openimageio/files/openimageio-2.2.6.1-pugixml.patch
new file mode 100644
index 000000000000..d5cef06d38db
--- /dev/null
+++ b/media-libs/openimageio/files/openimageio-2.2.6.1-pugixml.patch
@@ -0,0 +1,21 @@
+https://github.com/OpenImageIO/oiio/issues/2732
+
+diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake
+index 1240f22..5cc5a2e 100644
+--- a/src/cmake/externalpackages.cmake
++++ b/src/cmake/externalpackages.cmake
+@@ -227,6 +227,14 @@ endif ()
+ # allow this to be overridden to use the distro-provided package if desired.
+ option (USE_EXTERNAL_PUGIXML "Use an externally built shared library version of the pugixml library" OFF)
+ if (USE_EXTERNAL_PUGIXML)
++ find_path (PUGIXML_INCLUDE_DIR NAMES pugixml.hpp)
++ find_library (PUGIXML_LIBRARIES NAMES pugixml)
++
++ set (PUGIXML_INCLUDE_DIR ${PUGIXML_INCLUDE_DIR})
++ set (PUGIXML_INCLUDE_DIRS ${PUGIXML_INCLUDE_DIR})
++ set (PUGIXML_LIBRARIES ${PUGIXML_LIBRARIES})
++ set (PUGIXML_INCLUDES ${PUGIXML_INCLUDE_DIR})
++
+ checked_find_package (pugixml REQUIRED
+ DEFINITIONS -DUSE_EXTERNAL_PUGIXML=1)
+ endif()