Date: Fri, 5 Oct 2012 16:00:27 GMT From: Shane Ambler <FreeBSD@Shaneware.biz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172363: [maintainer update] update graphics/py-openimageio Message-ID: <201210051600.q95G0R7b073110@red.freebsd.org> Resent-Message-ID: <201210051610.q95GACHr074112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172363 >Category: ports >Synopsis: [maintainer update] update graphics/py-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:10:12 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@leader.local:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This is a small change to graphics/py-openimageio 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 py-openimageio.orig/Makefile py-openimageio/Makefile --- py-openimageio.orig/Makefile 2012-10-06 00:46:40.494352236 +0930 +++ py-openimageio/Makefile 2012-10-05 04:26:28.617826077 +0930 @@ -7,6 +7,7 @@ PORTNAME= openimageio PORTVERSION= 1.0.9 +PORTREVISION= 1 CATEGORIES= graphics multimedia python MASTER_SITES= https://github.com/OpenImageIO/oiio/tarball/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -42,8 +43,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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210051600.q95G0R7b073110>