pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/openimageio
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Mar 17 14:19:03 UTC 2020
Modified Files:
pkgsrc/graphics/openimageio: Makefile distinfo
Added Files:
pkgsrc/graphics/openimageio/patches: patch-Makefile
Log Message:
openimageio: Fix POSIX shell portability issues in Makefile and alloca(3) use
* Bump PKGREVISION from use of alloca(3) supplied by copmpiler.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/graphics/openimageio/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/openimageio/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/openimageio/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/openimageio/Makefile
diff -u pkgsrc/graphics/openimageio/Makefile:1.62 pkgsrc/graphics/openimageio/Makefile:1.63
--- pkgsrc/graphics/openimageio/Makefile:1.62 Tue Mar 10 22:08:51 2020
+++ pkgsrc/graphics/openimageio/Makefile Tue Mar 17 14:19:02 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.62 2020/03/10 22:08:51 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2020/03/17 14:19:02 ryoon Exp $
OIIOVER= 1.8.15
DISTNAME= oiio-Release-${OIIOVER}
PKGNAME= ${DISTNAME:S/oiio-Release/openimageio/}
-PKGREVISION= 12
+PKGREVISION= 13
CATEGORIES= graphics
MASTER_SITES= -https://github.com/OpenImageIO/oiio/archive/Release-${OIIOVER}.tar.gz
@@ -13,7 +13,8 @@ COMMENT= OpenImageIO is a library for re
LICENSE= modified-bsd
USE_CMAKE= yes
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c gnu++11
+BUILDLINK_TRANSFORM+= rm:-std=c++11 # for alloca(3)
USE_TOOLS+= gmake
OBJDIR= ../build
Index: pkgsrc/graphics/openimageio/distinfo
diff -u pkgsrc/graphics/openimageio/distinfo:1.20 pkgsrc/graphics/openimageio/distinfo:1.21
--- pkgsrc/graphics/openimageio/distinfo:1.20 Sun Dec 29 10:15:04 2019
+++ pkgsrc/graphics/openimageio/distinfo Tue Mar 17 14:19:02 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.20 2019/12/29 10:15:04 markd Exp $
+$NetBSD: distinfo,v 1.21 2020/03/17 14:19:02 ryoon Exp $
SHA1 (oiio-Release-1.8.15.tar.gz) = 3c8139af5c68d63a6fecd3096c0b78e34698c57b
RMD160 (oiio-Release-1.8.15.tar.gz) = b434b141e44e8ce2b4433e286b795654e3f850e4
SHA512 (oiio-Release-1.8.15.tar.gz) = e022e5c7e300d3dd952bcf3476e1b676a8931f67ba6b3959b26c75b9709907ac1c1b99de651f5876045f9a333e325a161b0d5159cb5bf385eb4f9f90a04707c7
Size (oiio-Release-1.8.15.tar.gz) = 27828632 bytes
+SHA1 (patch-Makefile) = 87ba502488af01b266afcd8135b9d9ff52fe9752
SHA1 (patch-src_cmake_install.cmake) = 8db6fbf92878d237dc08a761481febef45cb9f05
SHA1 (patch-src_cmake_modules_FindOpenEXR.cmake) = c8ff004f262b2d47d4f00dace858a3dad8bd3833
SHA1 (patch-src_include_OpenImageIO_strutil.h) = 881d5df34c8aa7641f018d64cd8b080534813db2
Added files:
Index: pkgsrc/graphics/openimageio/patches/patch-Makefile
diff -u /dev/null pkgsrc/graphics/openimageio/patches/patch-Makefile:1.1
--- /dev/null Tue Mar 17 14:19:03 2020
+++ pkgsrc/graphics/openimageio/patches/patch-Makefile Tue Mar 17 14:19:03 2020
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile,v 1.1 2020/03/17 14:19:03 ryoon Exp $
+
+* Fix POSIX shell portability issues
+
+--- Makefile.orig 2018-10-01 21:26:14.000000000 +0000
++++ Makefile
+@@ -389,9 +389,9 @@ TEST_FLAGS += --force-new-ctest-process
+ # 'make test' does a full build and then runs all tests
+ test: cmake
+ @ ${CMAKE} -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests ${TEST_FLAGS}..."
+- @ # if [ "${CODECOV}" == "1" ] ; then lcov -b ${build_dir} -d ${build_dir} -z ; rm -rf ${build_dir}/cov ; fi
++ @ # if [ "${CODECOV}" = "1" ] ; then lcov -b ${build_dir} -d ${build_dir} -z ; rm -rf ${build_dir}/cov ; fi
+ @ ( cd ${build_dir} ; PYTHONPATH=${PWD}/${build_dir}/src/python ctest -E broken ${TEST_FLAGS} )
+- @ ( if [ "${CODECOV}" == "1" ] ; then \
++ @ ( if [ "${CODECOV}" = "1" ] ; then \
+ cd ${build_dir} ; \
+ lcov -b . -d . -c -o cov.info ; \
+ lcov --remove cov.info "/usr*" -o cov.info ; \
Home |
Main Index |
Thread Index |
Old Index