ports/172362: [maintainer update] update for graphics/openimageio

Shane Ambler FreeBSD at Shaneware.biz
Fri Oct 5 16:00:35 UTC 2012


>Number:         172362
>Category:       ports
>Synopsis:       [maintainer update] update for graphics/openimageio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 05 16:00:34 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Shane Ambler
>Release:        9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Tue May 15 12:34:33 CST 2012     shane at leader.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
This is a small change to graphics/openimageio

While blender is effected by this update the new version just out will update it in the next few days.

commit reason --
gcc46 was found to create a corrupted binary on i386 targets.
gcc42 must be used for i386 binaries.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nru openimageio.orig/Makefile openimageio/Makefile
--- openimageio.orig/Makefile	2012-10-06 01:09:49.915351458 +0930
+++ openimageio/Makefile	2012-10-06 01:09:35.282351603 +0930
@@ -7,6 +7,7 @@
 
 PORTNAME=	openimageio
 PORTVERSION=	1.0.9
+PORTREVISION=	1
 CATEGORIES=	graphics multimedia
 MASTER_SITES=	https://github.com/OpenImageIO/oiio/tarball/
 DISTNAME=	Release-${PORTVERSION}
@@ -74,8 +75,9 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "i386" || ${OSVERSION} < 803000
-USE_GCC=	4.6+
+.if ${ARCH} == "i386" && ${CC} != "clang"
+# gcc > 4.2 builds a corrupted i386 binary
+USE_GCC=	4.2
 .endif
 
 .if ${OSVERSION} < 800000


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



More information about the freebsd-ports-bugs mailing list