Here is an update to openimageio 1.8.17. The last release along the 1.8
branch.

1.8.8 drops usage of GLEW.

1.8.9 has switched from openjpeg to openjp2.


Release 1.8.7 (1 Jan 2018) -- compared to 1.8.6
-------------------------------------------------
* All string->numeric parsing and numeric->string formatting is now
  locale-independent and always uses '.' as decimal marker. #1796
* oiiotool outputs are now written to temporary files, then atomically moved
  to the specified filename at the end. This makes it safe for oiiotool
  to "overwrite" a file (i.e. `oiiotool in.tif ... -o out.tif`) without
  problematic situations where the file is truncated or overwritten
  before the reading is complete. #1797
* Python bindings for ImageBuf.get_pixels and set_pixels fixed some bugs
  when passed an ROI without a channel range specified. #1802
* More robust parsing of XMP metadata for unknown metadata names. #1816
* strutil.h now includes a to_string<> utility template. #1814

Release 1.8.8 (1 Feb 2018) -- compared to 1.8.7
-------------------------------------------------
* OpenEXR: gracefully detect and reject files with subsampled channels,
  which is a rarely-to-never-used OpenEXR feature that we don't support
  properly. #1849
* Field3d: Prevent crashes when open fails. #1848
* RAW: Add "raw:HighlightMode" configuration hint to control libraw's
  handling of highlight mode processing. #1851
* zfile: more careful gzopen on Windows that could crash when given bogus
  filename. #1839
* DICOM: Fix dcmtk build errors on some platforms. Also, the minimum dcmtk
  version we suport is 3.6.1. #1843
* simd.h: Minor fixes especially for avx512. #1846
* iv: Drop GLEW and obsolete GL stuff from iv in favor of QOpenGLFunctions,
  and fix broken pixelview text rendering. #1834
* On Unix/Linux, add explicit DL library dependency to libOpenImageIO.so
  itself instead of only to the binaries and test utilities. #1860
* Build fixes for Hurd OS. #1850

Release 1.8.9 (1 Mar 2018) -- compared to 1.8.8
-------------------------------------------------
* Properly find newer openjpeg 2.3. #1871
* Bug fix in IBA::copy where uninitialized dst image botched its ROI. #1876
* RAW: Important bug fix when dealing with rotated (and vertical) images,
  which were not being re-oriented properly and could get strangely
  scrambled. #1854

Release 1.8.10 (1 Apr 2018) -- compared to 1.8.9
-------------------------------------------------
* oiiotool frame sequence wildcard improvements: fix handling of negative
  frame numbers and ranges, also the `--frames` command line option is not
  enough to trigger a loop over those frame numbers, even if no other
  arguments appear to have wildcard structure. #1894
* TIFF bug fix: read_tile() and read_tiles() input of un-premultiplied tiles
  botched the "shape" of the tile data array. #1907
* Windows/MSVC build fix: use the `/bigobj` option on some large modules
  that need it. #1900, #1902
* fmath.h, hash.h, color.h: changes to make it friendly to Cuda compilation
  (#1888, #1896, #1905).
* fmath.h avx-512 improvements. #1893
* testsuite is not Python 2/3 agnostic.

Release 1.8.11 (1 May 2018) -- compared to 1.8.10
-------------------------------------------------
* Fix to strtof, strtod for non-C locales. #1918
* Add up-to-date Nuke versions to FindNuke.cmake. #1920
* Allow building against ffmpeg 4.0. #1926

Release 1.8.12 (1 Jun 2018) -- compared to 1.8.11
-------------------------------------------------
* Build fix for 32 bit Windows -- disable SSE that was making trouble. #1933
* Improved UTF-8 filename support for OpenEXR filenames. #1941
* filesystem.h: Improve UTF-8 handling for unique_path and temp_directory
  functions. #1940
* Fixes to un-break the build when EMBEDPLUGINS=0. #1942
* Fix iv (especially on OSX) for various ways it has been broken since the
  shift to Qt5. #1946
* Improvements in finding the location of OpenJPEG with Macports. #1948
* ImageCache and TextureSystem now have close(filename) and close_all()
  methods, which for one file or all files will close the files and release
  any open file handles (also unlocking write access to those files on
  Windows), but without invalidating anything it knows about the ImageSpec
  or any pixel tiles already read from the files, as would happen with a
  call to the much more drastic invalidate() or invalidate_all(). #1950

Release 1.8.13 (1 Aug 2018) -- compared to 1.8.12
-------------------------------------------------
* Improved finding LibRaw on Windows #1959
* Ensure FFMPEG (if found) is the minimum supported version 2.6.  #1963
* Developer goodies: `intrusive_ptr<>` given a dangerous `release()`
  method (use with caution). #1986

Release 1.8.14 (1 Sep 2018) -- compared to 1.8.13
-------------------------------------------------
* Support compilation by clang 7.0. #1995
* Bug fix to ImageBuf::roi_cointains(). #1997
* Fix ImageSpec constructor from an ROI, display/"full" window did not get
  the right default origin. #1996
* GIF read: fix crash when reading GIF with comment extension but no
  comment data. #2001
* JPEG write: robust to accidentally setting the "density" metadata to
  values larger than JPEG's 16 bit integer field will accommodate. #2002
* ImageSpec::erase_attribute() fix bug where it got case-sensitivity of the
  search backwards when built using std::regex rather than boost::regex.
  #2003

Release 1.8.15 (1 Oct 2018) -- compared to 1.8.14
-------------------------------------------------
* Change to internal thread pool to fix rare crash when lowering number of
  threads. #2013
* Build: Use pkgconfig in FindOpenEXR.cmake if available. #2008
* ImageBufAlgo::channel_append now will work with mixed input data types.
  #2022

Release 1.8.16 (1 Nov 2018) -- compared to 1.8.15
-------------------------------------------------
* Fix Windows build that was missing an exported symbol. #2024
* RAW: Added config hint "raw:aber" (float[2]) to control libraw's
  correction of chromatic aberration. #2030
* Removed stale python examples that probably didn't work anyway. #2036
* Windows fix: Safer thread pool destruction on. #2038

Release 1.8.17 (1 Dec 2018) -- compared to 1.8.16
-------------------------------------------------
* Fix `oiiotool --info` in Windows -- printed path wrong. #2052
* Build: When finding OpenEXR, use the version detected by pkg-config, if
  available. #2057
* zfile: more careful gzopen on Windows that could crash when given bogus
  filename. (Particularly on Windows.) #2070
* `ImageCache::invalidate(filename)` did not properly invalidate the
  "fingerprint" is used to detect duplicate files. #2081
* Fix Strutil::vsnprintf detection of encoding errors on Windows. #2082



Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.46
diff -u -p -u -p -r1.46 Makefile
--- Makefile    17 Nov 2020 20:37:09 -0000      1.46
+++ Makefile    18 Nov 2020 10:12:12 -0000
@@ -8,16 +8,15 @@ COMMENT =             library for reading and writi
 GH_ACCOUNT =           OpenImageIO
 GH_PROJECT =           oiio
 GH_TAGNAME =           Release-$V
-V =                    1.8.6
+V =                    1.8.17
 DISTNAME =             openimageio-${V}
-REVISION =             11
 
-SHARED_LIBS +=         OpenImageIO             6.0 # 1.0
-SHARED_LIBS +=         OpenImageIO_Util        2.0 # 1.5
+SHARED_LIBS +=         OpenImageIO             7.0 # 1.0
+SHARED_LIBS +=         OpenImageIO_Util        3.0 # 1.5
 
 CATEGORIES =           graphics devel
 
-HOMEPAGE =             http://www.openimageio.org
+HOMEPAGE =             https://sites.google.com/site/openimageio/home
 
 MAINTAINER =           Pascal Stumpf <[email protected]>
 
@@ -26,32 +25,31 @@ PERMIT_PACKAGE =    Yes
 
 WANTLIB += ${COMPILER_LIBCXX} ${MODPY_WANTLIB}
 WANTLIB += boost_python${MODPY_MAJORMINOR}-mt
-WANTLIB += GL GLEW GLU Half-2_5 Iex-2_5 IlmImf-2_5 IlmThread-2_5
+WANTLIB += GL GLU Half-2_5 Iex-2_5 IlmImf-2_5 IlmThread-2_5
 WANTLIB += Imath-2_5 OpenColorIO Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
 WANTLIB += avcodec avformat avutil boost_atomic-mt boost_chrono-mt
 WANTLIB += boost_date_time-mt boost_filesystem-mt boost_system-mt
-WANTLIB += boost_thread-mt bz2 c freetype gif jpeg m openjpeg
+WANTLIB += boost_thread-mt bz2 c freetype gif jpeg m openjp2
 WANTLIB += png pugixml raw_r swscale tiff webp z
 
 MODULES =              devel/cmake \
                        lang/python \
                        x11/qt5
 
-MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_3}
+MODPY_VERSION =                ${MODPY_DEFAULT_VERSION_3}
 
 COMPILER =             base-clang ports-gcc
 
 BUILD_DEPENDS =                textproc/txt2man
 
-LIB_DEPENDS =          devel/boost>=1.67.0 \
+LIB_DEPENDS =          devel/boost \
                        graphics/ffmpeg \
                        graphics/giflib \
-                       graphics/glew \
                        graphics/libraw \
                        graphics/libwebp \
                        graphics/opencolorio \
                        graphics/openexr \
-                       graphics/openjpeg \
+                       graphics/openjp2 \
                        graphics/tiff \
                        textproc/pugixml
 
@@ -61,15 +59,13 @@ CONFIGURE_ARGS +=   -DCMAKE_INSTALL_MANDIR
                        -DUSE_EXTERNAL_PUGIXML=ON \
                        -DUSE_OPENCV=OFF
 
-CXXFLAGS +=            -pthread
-
-WRKDIST =              ${WRKDIR}/oiio-Release-$V
-
 # Fix undefined reference to __atomic_*
 .if ${MACHINE_ARCH:Mhppa}
 CONFIGURE_ENV +=       LDFLAGS="${LDFLAGS} -latomic"
-WANTLIB +=              atomic
+WANTLIB +=             atomic
 .endif
+
+WRKDIST =              ${WRKDIR}/oiio-Release-$V
 
 post-install:
        find ${PREFIX} -name '*.orig' -delete
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo    26 Dec 2017 19:19:04 -0000      1.8
+++ distinfo    4 Oct 2020 01:02:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (openimageio-1.8.6.tar.gz) = 
ngcNVsD3FJbKdykKeKvZSK+cJ5mYO8J8IqNtzBb/4uM=
-SIZE (openimageio-1.8.6.tar.gz) = 27652301
+SHA256 (openimageio-1.8.17.tar.gz) = 
oBkIbAWmFQ1EWiJAurFyPf9UDd5fXDJ8Nql/C1rg4Vc=
+SIZE (openimageio-1.8.17.tar.gz) = 27835527
Index: patches/patch-src_cmake_platform_cmake
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_cmake_platform_cmake,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-src_cmake_platform_cmake
--- patches/patch-src_cmake_platform_cmake      26 Dec 2017 19:19:04 -0000      
1.4
+++ patches/patch-src_cmake_platform_cmake      4 Oct 2020 01:02:31 -0000
@@ -1,4 +1,5 @@
 $OpenBSD: patch-src_cmake_platform_cmake,v 1.4 2017/12/26 19:19:04 rsadowski 
Exp $
+
 Index: src/cmake/platform.cmake
 --- src/cmake/platform.cmake.orig
 +++ src/cmake/platform.cmake
Index: patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_ffmpeg_imageio_ffmpeginput_cpp
--- patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp    21 Feb 2019 22:01:30 
-0000      1.1
+++ patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp    4 Oct 2020 01:02:31 
-0000
@@ -5,7 +5,7 @@ Update for newer FFmpeg API.
 Index: src/ffmpeg.imageio/ffmpeginput.cpp
 --- src/ffmpeg.imageio/ffmpeginput.cpp.orig
 +++ src/ffmpeg.imageio/ffmpeginput.cpp
-@@ -330,7 +330,7 @@ FFmpegInput::open (const std::string &name, ImageSpec 
+@@ -338,7 +338,7 @@ FFmpegInput::open (const std::string &name, ImageSpec 
          !strcmp (m_codec_context->codec->name, "dvvideo")) {
          m_offset_time = false;
      }
Index: patches/patch-src_include_OpenImageIO_simd_h
===================================================================
RCS file: patches/patch-src_include_OpenImageIO_simd_h
diff -N patches/patch-src_include_OpenImageIO_simd_h
--- patches/patch-src_include_OpenImageIO_simd_h        25 Jan 2019 20:09:43 
-0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_simd_h,v 1.1 2019/01/25 20:09:43 naddy 
Exp $
-
-Fix warnings revealed on clang 7.0
-https://github.com/OpenImageIO/oiio/commit/545251d93519d8a505693a669f0d1b9f913bf29e
-
-Index: src/include/OpenImageIO/simd.h
---- src/include/OpenImageIO/simd.h.orig
-+++ src/include/OpenImageIO/simd.h
-@@ -313,6 +313,7 @@ template<typename T,int elements> struct VecType {};
- template<> struct VecType<int,1>   { typedef int type; };
- template<> struct VecType<float,1> { typedef float type; };
- template<> struct VecType<int,4>   { typedef vint4 type; };
-+template<> struct VecType<float,4>   { typedef vfloat4 type; };
- template<> struct VecType<float,3> { typedef vfloat3 type; };
- template<> struct VecType<bool,4>  { typedef vbool4 type; };
- template<> struct VecType<int,8>   { typedef vint8 type; };
Index: patches/patch-src_include_tbb_machine_gcc_generic_h
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_include_tbb_machine_gcc_generic_h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_include_tbb_machine_gcc_generic_h
--- patches/patch-src_include_tbb_machine_gcc_generic_h 13 Jun 2012 11:32:39 
-0000      1.1
+++ patches/patch-src_include_tbb_machine_gcc_generic_h 4 Oct 2020 01:03:46 
-0000
@@ -1,6 +1,8 @@
 $OpenBSD: patch-src_include_tbb_machine_gcc_generic_h,v 1.1 2012/06/13 
11:32:39 pascal Exp $
---- src/include/tbb/machine/gcc_generic.h.orig Mon Jun 11 11:57:42 2012
-+++ src/include/tbb/machine/gcc_generic.h      Mon Jun 11 12:01:02 2012
+
+Index: src/include/tbb/machine/gcc_generic.h
+--- src/include/tbb/machine/gcc_generic.h.orig
++++ src/include/tbb/machine/gcc_generic.h
 @@ -0,0 +1,127 @@
 +/*
 +    Copyright 2005-2012 Intel Corporation.  All Rights Reserved.
Index: patches/patch-src_include_tbb_machine_sunos_sparc_h
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_include_tbb_machine_sunos_sparc_h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_include_tbb_machine_sunos_sparc_h
--- patches/patch-src_include_tbb_machine_sunos_sparc_h 13 Jun 2012 11:32:39 
-0000      1.1
+++ patches/patch-src_include_tbb_machine_sunos_sparc_h 4 Oct 2020 01:03:46 
-0000
@@ -1,6 +1,8 @@
 $OpenBSD: patch-src_include_tbb_machine_sunos_sparc_h,v 1.1 2012/06/13 
11:32:39 pascal Exp $
---- src/include/tbb/machine/sunos_sparc.h.orig Mon Jun 11 11:57:42 2012
-+++ src/include/tbb/machine/sunos_sparc.h      Mon Jun 11 12:00:47 2012
+
+Index: src/include/tbb/machine/sunos_sparc.h
+--- src/include/tbb/machine/sunos_sparc.h.orig
++++ src/include/tbb/machine/sunos_sparc.h
 @@ -0,0 +1,213 @@
 +/*
 +    Copyright 2005-2012 Intel Corporation.  All Rights Reserved.
Index: patches/patch-src_libtexture_texture_pvt_h
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_libtexture_texture_pvt_h,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-src_libtexture_texture_pvt_h
--- patches/patch-src_libtexture_texture_pvt_h  4 Oct 2015 12:59:15 -0000       
1.2
+++ patches/patch-src_libtexture_texture_pvt_h  4 Oct 2020 01:03:46 -0000
@@ -1,6 +1,8 @@
 $OpenBSD: patch-src_libtexture_texture_pvt_h,v 1.2 2015/10/04 12:59:15 pascal 
Exp $
---- src/libtexture/texture_pvt.h.orig  Mon Sep 28 20:00:17 2015
-+++ src/libtexture/texture_pvt.h       Mon Sep 28 22:21:50 2015
+
+Index: src/libtexture/texture_pvt.h
+--- src/libtexture/texture_pvt.h.orig
++++ src/libtexture/texture_pvt.h
 @@ -32,6 +32,8 @@
  /// \file
  /// Non-public classes used internally by TextureSystemImpl.
Index: patches/patch-src_libutil_simd_test_cpp
===================================================================
RCS file: patches/patch-src_libutil_simd_test_cpp
diff -N patches/patch-src_libutil_simd_test_cpp
--- patches/patch-src_libutil_simd_test_cpp     25 Jan 2019 20:09:43 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,109 +0,0 @@
-$OpenBSD: patch-src_libutil_simd_test_cpp,v 1.1 2019/01/25 20:09:43 naddy Exp $
-
-Fix warnings revealed on clang 7.0
-https://github.com/OpenImageIO/oiio/commit/545251d93519d8a505693a669f0d1b9f913bf29e
-
-Index: src/libutil/simd_test.cpp
---- src/libutil/simd_test.cpp.orig
-+++ src/libutil/simd_test.cpp
-@@ -528,6 +528,82 @@ void test_gatherscatter ()
- 
- 
- 
-+template<typename T>
-+void test_extract3 ()
-+{
-+    const T vals[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
-+    using VEC = typename VecType<T,3>::type;
-+    VEC b (vals);
-+    for (int i = 0; i < VEC::elements; ++i)
-+        OIIO_CHECK_EQUAL (b[i], vals[i]);
-+    OIIO_CHECK_EQUAL (extract<0>(b), 0);
-+    OIIO_CHECK_EQUAL (extract<1>(b), 1);
-+    OIIO_CHECK_EQUAL (extract<2>(b), 2);
-+}
-+
-+template<typename T>
-+void test_extract4 ()
-+{
-+    const T vals[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
-+    using VEC = typename VecType<T,4>::type;
-+    VEC b (vals);
-+    for (int i = 0; i < VEC::elements; ++i)
-+        OIIO_CHECK_EQUAL (b[i], vals[i]);
-+    OIIO_CHECK_EQUAL (extract<0>(b), 0);
-+    OIIO_CHECK_EQUAL (extract<1>(b), 1);
-+    OIIO_CHECK_EQUAL (extract<2>(b), 2);
-+    OIIO_CHECK_EQUAL (extract<3>(b), 3);
-+}
-+
-+template<typename T>
-+void test_extract8 ()
-+{
-+    test_extract4<T>();
-+
-+    const T vals[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
-+    using VEC = typename VecType<T,8>::type;
-+    VEC b (vals);
-+    for (int i = 0; i < VEC::elements; ++i)
-+        OIIO_CHECK_EQUAL (b[i], vals[i]);
-+    OIIO_CHECK_EQUAL (extract<4>(b), 4);
-+    OIIO_CHECK_EQUAL (extract<5>(b), 5);
-+    OIIO_CHECK_EQUAL (extract<6>(b), 6);
-+    OIIO_CHECK_EQUAL (extract<7>(b), 7);
-+}
-+
-+template<typename T>
-+void test_extract16 ()
-+{
-+    test_extract8<T>();
-+
-+    const T vals[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
-+    using VEC = typename VecType<T,16>::type;
-+    VEC b (vals);
-+    for (int i = 0; i < VEC::elements; ++i)
-+        OIIO_CHECK_EQUAL (b[i], vals[i]);
-+    OIIO_CHECK_EQUAL (extract<8>(b), 8);
-+    OIIO_CHECK_EQUAL (extract<9>(b), 9);
-+    OIIO_CHECK_EQUAL (extract<10>(b), 10);
-+    OIIO_CHECK_EQUAL (extract<11>(b), 11);
-+    OIIO_CHECK_EQUAL (extract<12>(b), 12);
-+    OIIO_CHECK_EQUAL (extract<13>(b), 13);
-+    OIIO_CHECK_EQUAL (extract<14>(b), 14);
-+    OIIO_CHECK_EQUAL (extract<15>(b), 15);
-+}
-+
-+
-+
-+template<typename T, int SIZE> void test_extract ();
-+template<> void test_extract<float,16> () { test_extract16<float>(); }
-+template<> void test_extract<int,16> () { test_extract16<int>(); }
-+template<> void test_extract<float,8> () { test_extract8<float>(); }
-+template<> void test_extract<int,8> () { test_extract8<int>(); }
-+template<> void test_extract<float,4> () { test_extract4<float>(); }
-+template<> void test_extract<int,4> () { test_extract4<int>(); }
-+template<> void test_extract<float,3> () { test_extract3<float>(); }
-+
-+
-+
- template<typename VEC>
- void test_component_access ()
- {
-@@ -566,6 +642,9 @@ void test_component_access ()
-         OIIO_CHECK_SIMD_EQUAL (insert<3>(a, ELEM(42)), 
mkvec<VEC>(0,1,2,42,4,5,6,7));
- 
-     VEC b (vals);
-+#if 1
-+    test_extract<ELEM,VEC::elements>();
-+#else
-     for (int i = 0; i < VEC::elements; ++i)
-         OIIO_CHECK_EQUAL (b[i], vals[i]);
-     OIIO_CHECK_EQUAL (extract<0>(b), 0);
-@@ -589,6 +668,7 @@ void test_component_access ()
-         OIIO_CHECK_EQUAL (extract<14>(b), 14);
-         OIIO_CHECK_EQUAL (extract<15>(b), 15);
-     }
-+#endif
- 
-     benchmark2 ("operator[i]", [&](const VEC& v, int i){ return v[i]; },  b, 
2, 1 /*work*/);
-     benchmark2 ("operator[2]", [&](const VEC& v, int i){ return v[2]; },  b, 
2, 1 /*work*/);
Index: patches/patch-src_libutil_sysutil_cpp
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_libutil_sysutil_cpp,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-src_libutil_sysutil_cpp
--- patches/patch-src_libutil_sysutil_cpp       26 Dec 2017 19:19:04 -0000      
1.6
+++ patches/patch-src_libutil_sysutil_cpp       4 Oct 2020 01:03:46 -0000
@@ -1,8 +1,20 @@
 $OpenBSD: patch-src_libutil_sysutil_cpp,v 1.6 2017/12/26 19:19:04 rsadowski 
Exp $
+
 Index: src/libutil/sysutil.cpp
 --- src/libutil/sysutil.cpp.orig
 +++ src/libutil/sysutil.cpp
-@@ -135,7 +135,7 @@ Sysutil::memory_used (bool resident)
+@@ -51,6 +51,10 @@
+ # include <unistd.h>
+ #endif
+ 
++#if defined (__OpenBSD__)
++# include <unistd.h>
++#endif
++
+ #ifdef __APPLE__
+ # include <mach/task.h>
+ # include <mach/mach_init.h>
+@@ -139,7 +143,7 @@ Sysutil::memory_used (bool resident)
          return counters.PagefileUsage;
      else return 0;
  
Index: patches/patch-src_make_detectplatform_mk
===================================================================
RCS file: 
/home/cvs/ports/graphics/openimageio/patches/patch-src_make_detectplatform_mk,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-src_make_detectplatform_mk
--- patches/patch-src_make_detectplatform_mk    9 May 2012 12:42:06 -0000       
1.1.1.1
+++ patches/patch-src_make_detectplatform_mk    4 Oct 2020 01:03:46 -0000
@@ -1,6 +1,8 @@
 $OpenBSD: patch-src_make_detectplatform_mk,v 1.1.1.1 2012/05/09 12:42:06 
pascal Exp $
---- src/make/detectplatform.mk.orig    Sun Apr  1 23:51:00 2012
-+++ src/make/detectplatform.mk Sun Apr  1 23:52:57 2012
+
+Index: src/make/detectplatform.mk
+--- src/make/detectplatform.mk.orig
++++ src/make/detectplatform.mk
 @@ -25,7 +25,9 @@ ifneq (${hw},x86)
    ifneq (${hw},x86_64)
      ifneq (${hw},i386)
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/graphics/openimageio/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   17 Nov 2020 20:37:09 -0000      1.9
+++ pkg/PLIST   18 Nov 2020 07:37:21 -0000
@@ -40,6 +40,7 @@ include/OpenImageIO/platform.h
 include/OpenImageIO/plugin.h
 include/OpenImageIO/refcnt.h
 include/OpenImageIO/simd.h
+include/OpenImageIO/span.h
 include/OpenImageIO/strided_ptr.h
 include/OpenImageIO/string_view.h
 include/OpenImageIO/strutil.h
@@ -61,7 +62,6 @@ lib/python${MODPY_VERSION}/site-packages
 @man man/man1/idiff.1
 @man man/man1/igrep.1
 @man man/man1/iinfo.1
-@man man/man1/iv.1
 @man man/man1/maketx.1
 @man man/man1/oiiotool.1
 share/doc/OpenImageIO/
@@ -69,7 +69,7 @@ share/doc/OpenImageIO/CHANGES.md
 share/doc/OpenImageIO/LICENSE
 share/doc/OpenImageIO/openimageio.pdf
 share/fonts/
-share/fonts/OpenImageIO/
+@fontdir share/fonts/OpenImageIO/
 share/fonts/OpenImageIO/DroidSans-Bold.ttf
 share/fonts/OpenImageIO/DroidSans.ttf
 share/fonts/OpenImageIO/DroidSansMono.ttf

Reply via email to