aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-06-20 06:04:32 +0800
committermadpilot <madpilot@FreeBSD.org>2013-06-20 06:04:32 +0800
commitad09795d6c0a9b80bdabe0a1a3039d350c1f23e5 (patch)
treeecd4e123237c2c6463dea9f3b1ecdde97dbd22d2 /graphics
parentcebd0c5394f27e89b87a39e211ccfb5f70a55931 (diff)
downloadfreebsd-ports-gnome-ad09795d6c0a9b80bdabe0a1a3039d350c1f23e5.tar.gz
freebsd-ports-gnome-ad09795d6c0a9b80bdabe0a1a3039d350c1f23e5.tar.zst
freebsd-ports-gnome-ad09795d6c0a9b80bdabe0a1a3039d350c1f23e5.zip
- Update to 1.1.11
- Fix build with gcc 4.8 - While I'm here, remove check for unsupported FreeBSD version PR: ports/179165 [1], ports/179192 [2] Submitted by: Anderson Guzman <aguzman@pendulosoftware.com> [1] Submitted by: Shane Ambler <FreeBSD@Shaneware.biz> (maintainer) [2]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openimageio/Makefile12
-rw-r--r--graphics/openimageio/distinfo4
-rw-r--r--graphics/openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp10
-rw-r--r--graphics/openimageio/pkg-plist2
4 files changed, 16 insertions, 12 deletions
diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index 0f56f36649b8..9967f9b05a49 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME?= openimageio
-PORTVERSION= 1.1.10
+PORTVERSION= 1.1.11
PORTREVISION?= 0
CATEGORIES?= graphics multimedia
@@ -22,7 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= OpenImageIO
GH_PROJECT= oiio
GH_TAGNAME= Release-${PORTVERSION}
-GH_COMMIT= f28f5c4
+GH_COMMIT= c092151
WRKSRC= ${WRKDIR}/OpenImageIO-oiio-${GH_COMMIT}/src
# fbm also installs bin/idiff
@@ -80,15 +80,9 @@ LIB_DEPENDS+= OpenColorIO:${PORTSDIR}/graphics/opencolorio
CMAKE_ARGS+= -DUSE_OCIO:BOOL=OFF
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-IGNORE= requires FreeBSD 8.0 or higher
-.endif
-
post-install:
.if !defined(OIIO_PYBIND)
cd ${PREFIX}/lib && ${LN} -sf libOpenImageIO.so.1.1 libOpenImageIO.so.1
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/openimageio/distinfo b/graphics/openimageio/distinfo
index b92450203f66..7b38931f44cc 100644
--- a/graphics/openimageio/distinfo
+++ b/graphics/openimageio/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openimageio-1.1.10.tar.gz) = 1510287790113f0c64421623be7bf5b9317a1c9cfd6e85125bae81bc6c07a275
-SIZE (openimageio-1.1.10.tar.gz) = 9501836
+SHA256 (openimageio-1.1.11.tar.gz) = 489be1c57f10543412b42ae2aa67eb0ecb9634045b698b29ec06b5d120722308
+SIZE (openimageio-1.1.11.tar.gz) = 9502233
diff --git a/graphics/openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp b/graphics/openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp
new file mode 100644
index 000000000000..341136ee9855
--- /dev/null
+++ b/graphics/openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp
@@ -0,0 +1,10 @@
+--- ./ptex.imageio/ptex/PtexWriter.cpp.orig 2013-06-04 19:49:43.476382085 +0930
++++ ./ptex.imageio/ptex/PtexWriter.cpp 2013-06-04 19:49:48.134381870 +0930
+@@ -66,6 +66,7 @@
+ #include <algorithm>
+ #include <iostream>
+ #include <sstream>
++#include <unistd.h>
+
+ #include "filesystem.h"
+
diff --git a/graphics/openimageio/pkg-plist b/graphics/openimageio/pkg-plist
index 902ae178575d..95d6e43fbb84 100644
--- a/graphics/openimageio/pkg-plist
+++ b/graphics/openimageio/pkg-plist
@@ -38,7 +38,7 @@ include/OpenImageIO/version.h
lib/libOpenImageIO.so
lib/libOpenImageIO.so.1
lib/libOpenImageIO.so.1.1
-lib/libOpenImageIO.so.1.1.10
+lib/libOpenImageIO.so.1.1.11
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/openimageio.pdf