pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/openimageio Unrestrict virtual/data size as i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bb48844c9d45
branches: trunk
changeset: 413883:bb48844c9d45
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Mar 22 21:24:23 2020 +0000
description:
Unrestrict virtual/data size as it is very heavy at least with clang.
Fix drop historic casts that now violate the contract.
diffstat:
graphics/openimageio/Makefile | 4 +-
graphics/openimageio/distinfo | 3 +-
graphics/openimageio/patches/patch-src_libOpenImageIO_imagebufalgo__opencv.cpp | 28 ++++++++++
3 files changed, 33 insertions(+), 2 deletions(-)
diffs (65 lines):
diff -r cb07b9435f53 -r bb48844c9d45 graphics/openimageio/Makefile
--- a/graphics/openimageio/Makefile Sun Mar 22 21:23:10 2020 +0000
+++ b/graphics/openimageio/Makefile Sun Mar 22 21:24:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2020/03/17 14:19:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.64 2020/03/22 21:24:23 joerg Exp $
OIIOVER= 1.8.15
DISTNAME= oiio-Release-${OIIOVER}
@@ -12,6 +12,8 @@
COMMENT= OpenImageIO is a library for reading and writing images
LICENSE= modified-bsd
+UNLIMIT_RESOURCES= datasize virtualsize
+
USE_CMAKE= yes
USE_LANGUAGES= c gnu++11
BUILDLINK_TRANSFORM+= rm:-std=c++11 # for alloca(3)
diff -r cb07b9435f53 -r bb48844c9d45 graphics/openimageio/distinfo
--- a/graphics/openimageio/distinfo Sun Mar 22 21:23:10 2020 +0000
+++ b/graphics/openimageio/distinfo Sun Mar 22 21:24:23 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2020/03/17 14:19:02 ryoon Exp $
+$NetBSD: distinfo,v 1.22 2020/03/22 21:24:23 joerg Exp $
SHA1 (oiio-Release-1.8.15.tar.gz) = 3c8139af5c68d63a6fecd3096c0b78e34698c57b
RMD160 (oiio-Release-1.8.15.tar.gz) = b434b141e44e8ce2b4433e286b795654e3f850e4
@@ -8,4 +8,5 @@
SHA1 (patch-src_cmake_install.cmake) = 8db6fbf92878d237dc08a761481febef45cb9f05
SHA1 (patch-src_cmake_modules_FindOpenEXR.cmake) = c8ff004f262b2d47d4f00dace858a3dad8bd3833
SHA1 (patch-src_include_OpenImageIO_strutil.h) = 881d5df34c8aa7641f018d64cd8b080534813db2
+SHA1 (patch-src_libOpenImageIO_imagebufalgo__opencv.cpp) = 7664fda90d77db32a13b65adfd758c486edac337
SHA1 (patch-src_libutil_sysutil.cpp) = 78b8b4d7a5f4d963bdea0cc1739ee5b899898c3c
diff -r cb07b9435f53 -r bb48844c9d45 graphics/openimageio/patches/patch-src_libOpenImageIO_imagebufalgo__opencv.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/openimageio/patches/patch-src_libOpenImageIO_imagebufalgo__opencv.cpp Sun Mar 22 21:24:23 2020 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-src_libOpenImageIO_imagebufalgo__opencv.cpp,v 1.1 2020/03/22 21:24:24 joerg Exp $
+
+--- src/libOpenImageIO/imagebufalgo_opencv.cpp.orig 2020-03-22 19:49:46.854776697 +0000
++++ src/libOpenImageIO/imagebufalgo_opencv.cpp
+@@ -68,17 +68,17 @@ ImageBufAlgo::from_IplImage (ImageBuf &d
+ #ifdef USE_OPENCV
+ TypeDesc srcformat;
+ switch (ipl->depth) {
+- case int(IPL_DEPTH_8U) :
++ case IPL_DEPTH_8U :
+ srcformat = TypeDesc::UINT8; break;
+- case int(IPL_DEPTH_8S) :
++ case IPL_DEPTH_8S :
+ srcformat = TypeDesc::INT8; break;
+- case int(IPL_DEPTH_16U) :
++ case IPL_DEPTH_16U :
+ srcformat = TypeDesc::UINT16; break;
+- case int(IPL_DEPTH_16S) :
++ case IPL_DEPTH_16S :
+ srcformat = TypeDesc::INT16; break;
+- case int(IPL_DEPTH_32F) :
++ case IPL_DEPTH_32F :
+ srcformat = TypeDesc::FLOAT; break;
+- case int(IPL_DEPTH_64F) :
++ case IPL_DEPTH_64F :
+ srcformat = TypeDesc::DOUBLE; break;
+ default:
+ DASSERT (0 && "unknown IplImage type");
Home |
Main Index |
Thread Index |
Old Index