aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2017-10-30 11:10:02 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-01 07:34:21 +0700
commitcf5512184d4cc2e271b45297a3464863b2a3446e (patch)
treef9dbb28bdbf5972af234dbecd7bf4eef9113a438 /graphics
parentfd3e7fdfbb9feb15342923571e0a0fa42053be11 (diff)
graphics/openimageio: Patch to include cstdio (missing since openjpeg update)
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openimageio/oiio-include-cstdio.diff10
-rw-r--r--graphics/openimageio/openimageio.SlackBuild3
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/openimageio/oiio-include-cstdio.diff b/graphics/openimageio/oiio-include-cstdio.diff
new file mode 100644
index 000000000000..703e86fe0930
--- /dev/null
+++ b/graphics/openimageio/oiio-include-cstdio.diff
@@ -0,0 +1,10 @@
+--- src/jpeg2000.imageio/jpeg2000output-v1.cpp.orig 2017-08-31 14:36:04.000000000 +1000
++++ src/jpeg2000.imageio/jpeg2000output-v1.cpp 2017-10-30 10:34:45.122572637 +1000
+@@ -27,6 +27,7 @@
+
+ (This is the Modified BSD License)
+ */
++#include <cstdio>
+ #include <vector>
+ #include "openjpeg.h"
+ #include "OpenImageIO/filesystem.h"
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 1fd9b96ae9de..5a2e4663216a 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=openimageio
SRCNAM=oiio-Release
VERSION=${VERSION:-1.7.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PYLIB_INSTALL_DIRECTORY=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
@@ -66,6 +66,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+patch -p0 < $CWD/oiio-include-cstdio.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \