FreeBSD Bugzilla – Attachment 170491 Details for
Bug 209652
graphics/embree: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable some overloaded math functions for libc++ 3.8.0 and higher
graphics__embree-disable-overloaded-math-1.diff (text/plain), 1.13 KB, created by
Dimitry Andric
on 2016-05-19 20:25:27 UTC
(
hide
)
Description:
Disable some overloaded math functions for libc++ 3.8.0 and higher
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-05-19 20:25:27 UTC
Size:
1.13 KB
patch
obsolete
>Index: graphics/embree/files/patch-common_math_math.h >=================================================================== >--- graphics/embree/files/patch-common_math_math.h (nonexistent) >+++ graphics/embree/files/patch-common_math_math.h (working copy) >@@ -0,0 +1,11 @@ >+--- common/math/math.h.orig 2015-09-17 06:11:18 UTC >++++ common/math/math.h >+@@ -91,7 +91,7 @@ namespace embree >+ __forceinline float rsqrt( const float x ) { return 1.0f/sqrtf(x); } >+ #endif >+ >+-#if !defined(__WIN32__) >++#if !defined(__WIN32__) && (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 3800) >+ __forceinline float abs ( const float x ) { return ::fabsf(x); } >+ __forceinline float acos ( const float x ) { return ::acosf (x); } >+ __forceinline float asin ( const float x ) { return ::asinf (x); } > >Property changes on: graphics/embree/files/patch-common_math_math.h >___________________________________________________________________ >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 209652
: 170491