ports/182220: [PATCH] graphics/opencolorio: Fix build on 10.0-ALPHA and pass poudriere testpor

Steve Wills swills at freebsd.org
Thu Sep 19 04:00:01 UTC 2013


>Number:         182220
>Category:       ports
>Synopsis:       [PATCH] graphics/opencolorio: Fix build on 10.0-ALPHA and pass poudriere testpor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 04:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-ALPHA1 amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-ALPHA1 FreeBSD 10.0-ALPHA1 #6 r255605M: Mon Sep 16 02:19:42 UTC
>Description:
- Fix build on 10.0-ALPHA
- Passes poudriere testport

Port maintainer (FreeBSD at Shaneware.biz) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- opencolorio-1.0.8.patch begins here ---
Index: files/patch-export__OpenColorIO__OpenColorABI.h.in
===================================================================
--- files/patch-export__OpenColorIO__OpenColorABI.h.in	(revision 327590)
+++ files/patch-export__OpenColorIO__OpenColorABI.h.in	(working copy)
@@ -1,6 +1,17 @@
---- export/OpenColorIO/OpenColorABI.h.in.orig	2012-12-12 09:51:23.000000000 +1030
-+++ export/OpenColorIO/OpenColorABI.h.in	2013-01-29 21:13:34.104857600 +1030
-@@ -65,7 +65,7 @@
+--- export/OpenColorIO/OpenColorABI.h.in.orig	2012-12-11 23:21:23.000000000 +0000
++++ export/OpenColorIO/OpenColorABI.h.in	2013-09-19 03:17:49.202662415 +0000
+@@ -55,6 +55,10 @@
+ #include <boost/shared_ptr.hpp>
+ #define OCIO_SHARED_PTR boost::shared_ptr
+ #define OCIO_DYNAMIC_POINTER_CAST boost::dynamic_pointer_cast
++#elif __cplusplus >= 199711
++#include <memory>
++#define OCIO_SHARED_PTR std::shared_ptr
++#define OCIO_DYNAMIC_POINTER_CAST std::dynamic_pointer_cast
+ #elif __GNUC__ >= 4
+ #include <tr1/memory>
+ #define OCIO_SHARED_PTR std::tr1::shared_ptr
+@@ -65,7 +69,7 @@
  
  // If supported, define OCIOEXPORT, OCIOHIDDEN
  // (used to choose which symbols to export from OpenColorIO)
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 327590)
+++ pkg-plist	(working copy)
@@ -116,7 +116,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/userguide/tool_overview.html
 @dirrm include/OpenColorIO
 @dirrm include/PyOpenColorIO
- at dirrmtry libdata/pkgconfig
 @dirrm share/ocio
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/userguide
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/bindings
@@ -132,3 +131,5 @@
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/_images
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrmtry %%PYTHON_LIBDIR%%/site-packages
+ at dirrmtry %%PYTHON_LIBDIR%%
--- opencolorio-1.0.8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list