summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-20 21:59:59 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-20 21:59:59 +0000
commit23e9eca33d88724a194f6b3853d10c83dae3238f (patch)
treec536630ea1cda08c5a49445407eaa84d5ab724ea /graphics
parentx11/fnott: add new port (diff)
graphics/openimageio: Update to v2.2.9.0
ChangeLog: https://github.com/OpenImageIO/oiio/releases/tag/Release-2.2.9.0 PR: 251849 Submitted by: FreeBSD@ShaneWare.Biz (maintainer)
Notes
Notes: svn path=/head/; revision=558783
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openimageio/Makefile4
-rw-r--r--graphics/openimageio/distinfo6
-rw-r--r--graphics/openimageio/files/patch-src_webp.imageio_webpinput.cpp11
-rw-r--r--graphics/openimageio/pkg-plist1
4 files changed, 17 insertions, 5 deletions
diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index 88cc3d1b0cc8..a25d0bc4d71a 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -3,12 +3,12 @@
PORTNAME= openimageio
DISTVERSIONPREFIX= Release-
-DISTVERSION= 2.2.6.1
+DISTVERSION= 2.2.9.0
# PORTREVISION must be set with ?= so as not to stomp over
# py-openimageio's PORTREVISION.
# Also, just to be on the safe side, when resetting,
# best keep PORTREVISION?= 0.
-PORTREVISION?= 1
+PORTREVISION?= 0
CATEGORIES?= graphics multimedia
MAINTAINER?= FreeBSD@Shaneware.biz
diff --git a/graphics/openimageio/distinfo b/graphics/openimageio/distinfo
index 4653230f9bf6..99df3fe988f5 100644
--- a/graphics/openimageio/distinfo
+++ b/graphics/openimageio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1599280672
-SHA256 (OpenImageIO-oiio-Release-2.2.6.1_GH0.tar.gz) = adc245c9b2fa2bce1dd2decbdd1d03974e1e9818219d267d1da3dd1bd91216df
-SIZE (OpenImageIO-oiio-Release-2.2.6.1_GH0.tar.gz) = 29187970
+TIMESTAMP = 1607243801
+SHA256 (OpenImageIO-oiio-Release-2.2.9.0_GH0.tar.gz) = 255cfec0d9e94c8cf412bb2187ca85ad22ed1447342e51f2d439c2e1f8f7b96e
+SIZE (OpenImageIO-oiio-Release-2.2.9.0_GH0.tar.gz) = 29216767
diff --git a/graphics/openimageio/files/patch-src_webp.imageio_webpinput.cpp b/graphics/openimageio/files/patch-src_webp.imageio_webpinput.cpp
new file mode 100644
index 000000000000..6bb8ea637324
--- /dev/null
+++ b/graphics/openimageio/files/patch-src_webp.imageio_webpinput.cpp
@@ -0,0 +1,11 @@
+--- src/webp.imageio/webpinput.cpp.orig 2020-12-07 13:21:21 UTC
++++ src/webp.imageio/webpinput.cpp
+@@ -136,7 +136,7 @@ WebpInput::open(const std::string& name, ImageSpec& sp
+ }
+
+ // WebPMuxError err;
+- WebPData bitstream { m_encoded_image.get(), m_image_size };
++ WebPData bitstream { m_encoded_image.get(), (size_t)m_image_size };
+ m_demux = WebPDemux(&bitstream);
+ if (!m_demux) {
+ errorf("Couldn't decode");
diff --git a/graphics/openimageio/pkg-plist b/graphics/openimageio/pkg-plist
index 36a10d818ac8..906a5d89ad5d 100644
--- a/graphics/openimageio/pkg-plist
+++ b/graphics/openimageio/pkg-plist
@@ -35,6 +35,7 @@ include/OpenImageIO/imagebufalgo_util.h
include/OpenImageIO/imagebufalgo.h
include/OpenImageIO/imagecache.h
include/OpenImageIO/imageio.h
+include/OpenImageIO/Imath.h
include/OpenImageIO/missing_math.h
include/OpenImageIO/oiioversion.h
include/OpenImageIO/optparser.h