FreeBSD Bugzilla – Attachment 155325 Details for
Bug 196712
exp-run: Update lang/gcc from GCC 4.8 to GCC 4.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix OpenEXR depends
openexr.patch (text/plain), 2.79 KB, created by
Dmitry Marakasov
on 2015-04-08 00:30:36 UTC
(
hide
)
Description:
Patch to fix OpenEXR depends
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-04-08 00:30:36 UTC
Size:
2.79 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 383387) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= OpenEXR > PORTVERSION= 2.2.0 >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= graphics devel > MASTER_SITES= SAVANNAH/openexr/:dist \ > LOCAL/mandree/:test >@@ -49,13 +49,6 @@ > > .include <bsd.port.pre.mk> > >-# If default compiler is GCC, upgrade it because >-# g++ 4.2 is too old to auto-upgrade 0xffffffffffffffffl to >-# a long long integer constant - and has likely more issues. >-.if ${COMPILER_TYPE} == gcc >-USE_GCC= yes >-.endif >- > MAJORVER= 2_2 > VER= 22 > >@@ -63,6 +56,9 @@ > PLIST_SUB+= VER=${VER} > > post-patch: >+.if ${OSVERSION} < 1000000 >+ @${REINPLACE_CMD} -e '/define IMF_HAVE_SSE2/ d' ${WRKSRC}/IlmImf/ImfSimd.h >+.endif > @${REINPLACE_CMD} -e 's|== x|= x|g' ${WRKSRC}/configure > @${REINPLACE_CMD} \ > -e 's|$$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples|$$(prefix)/share/examples/${PORTNAME}|' \ >Index: files/patch-IlmImf_ImfFastHuf.cpp >=================================================================== >--- files/patch-IlmImf_ImfFastHuf.cpp (revision 0) >+++ files/patch-IlmImf_ImfFastHuf.cpp (working copy) >@@ -0,0 +1,47 @@ >+--- IlmImf/ImfFastHuf.cpp.orig 2014-08-10 08:23:56.000000000 +0400 >++++ IlmImf/ImfFastHuf.cpp 2015-04-08 00:10:07.536640000 +0300 >+@@ -107,7 +107,7 @@ >+ for (int i = 0; i <= MAX_CODE_LEN; ++i) >+ { >+ codeCount[i] = 0; >+- base[i] = 0xffffffffffffffffL; >++ base[i] = 0xffffffffffffffffULL; >+ offset[i] = 0; >+ } >+ >+@@ -352,7 +352,7 @@ >+ >+ for (int i = 0; i <= MAX_CODE_LEN; ++i) >+ { >+- if (base[i] != 0xffffffffffffffffL) >++ if (base[i] != 0xffffffffffffffffULL) >+ { >+ _ljBase[i] = base[i] << (64 - i); >+ } >+@@ -362,7 +362,7 @@ >+ // Unused code length - insert dummy values >+ // >+ >+- _ljBase[i] = 0xffffffffffffffffL; >++ _ljBase[i] = 0xffffffffffffffffULL; >+ } >+ } >+ >+@@ -417,7 +417,7 @@ >+ >+ int minIdx = TABLE_LOOKUP_BITS; >+ >+- while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffL) >++ while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffULL) >+ minIdx--; >+ >+ if (minIdx < 0) >+@@ -427,7 +427,7 @@ >+ // Set the min value such that the table is never tested. >+ // >+ >+- _tableMin = 0xffffffffffffffffL; >++ _tableMin = 0xffffffffffffffffULL; >+ } >+ else >+ { > >Property changes on: files/patch-IlmImf_ImfFastHuf.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 196712
:
151613
|
153323
|
155325
|
155352
|
162416
|
176402