FreeBSD Bugzilla – Attachment 179215 Details for
Bug 216054
graphics/openshadinglanguage: fails to build with libc++ 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
graphics/openshadinglanguage update
openshadinglanguage.patch (text/plain), 2.23 KB, created by
Shane
on 2017-01-22 15:05:40 UTC
(
hide
)
Description:
graphics/openshadinglanguage update
Filename:
MIME Type:
Creator:
Shane
Created:
2017-01-22 15:05:40 UTC
Size:
2.23 KB
patch
obsolete
>diff -Nru openshadinglanguage.orig/distinfo openshadinglanguage/distinfo >--- openshadinglanguage.orig/distinfo 2017-01-23 00:48:35.536270000 +1030 >+++ openshadinglanguage/distinfo 2017-01-23 00:46:25.621618000 +1030 >@@ -1,2 +1,3 @@ >-SHA256 (imageworks-OpenShadingLanguage-Release-1.7.2_GH0.tar.gz) = 9c8b014248db24f1993fb7eb4b022a19a42ec7e81a6a28ade13c52be5941c85b >-SIZE (imageworks-OpenShadingLanguage-Release-1.7.2_GH0.tar.gz) = 13717762 >+TIMESTAMP = 1478806482 >+SHA256 (imageworks-OpenShadingLanguage-Release-1.7.5_GH0.tar.gz) = 46226af0592297172e856635eac50327255f1a307244162c1feb47581e72a109 >+SIZE (imageworks-OpenShadingLanguage-Release-1.7.5_GH0.tar.gz) = 13739852 >diff -Nru openshadinglanguage.orig/Makefile openshadinglanguage/Makefile >--- openshadinglanguage.orig/Makefile 2017-01-23 00:48:35.566458000 +1030 >+++ openshadinglanguage/Makefile 2017-01-23 00:44:10.008879000 +1030 >@@ -2,9 +2,8 @@ > # $FreeBSD$ > > PORTNAME= openshadinglanguage >-PORTVERSION= 1.7.2 >+PORTVERSION= 1.7.5 > DISTVERSIONPREFIX= Release- >-PORTREVISION= 2 > CATEGORIES= graphics devel > > MAINTAINER= FreeBSD@Shaneware.biz >@@ -12,9 +11,10 @@ > > LICENSE= BSD3CLAUSE > >-BUILD_DEPENDS= llvm-config34:devel/llvm34 \ >- clang34>=3.4_1:lang/clang34 >+BUILD_DEPENDS= llvm-config34:devel/llvm34 > LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ >+ libtinfo.so:devel/ncurses \ >+ libImath-2_2.so:graphics/ilmbase \ > libIlmImf.so:graphics/OpenEXR \ > libOpenImageIO.so:graphics/openimageio > RUN_DEPENDS= llvm-config34:devel/llvm34 >@@ -24,9 +24,10 @@ > GH_PROJECT= OpenShadingLanguage > > CMAKE_ARGS= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34" \ >- -DENABLERTTI:BOOL=ON >+ -DENABLERTTI:BOOL=ON -DOSL_BUILD_CPP11:BOOL=OFF \ >+ -DOSL_BUILD_CPP14:BOOL=OFF > USE_LDCONFIG= yes >-USES= bison cmake:outsource compiler:c11 >+USES= bison cmake:outsource > > .include <bsd.port.options.mk> > >@@ -34,10 +35,10 @@ > USE_GCC= yes > .endif > >-.if ${OSVERSION} < 1000033 >-BUILD_DEPENDS+= flex>=2.5.37:textproc/flex >-CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex >-CXXFLAGS+= -I${LOCALBASE}/include/flex >+.if ${OSVERSION} > 1200000 >+# llvm-as34 fails to build llvm_ops after clang 4 import >+# disabling this option uses clang instead of llvm-as >+CMAKE_ARGS+= -DUSE_LLVM_BITCODE:BOOL=OFF > .endif > > post-patch:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216054
:
179215