Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 541204 Details for
Bug 662248
media-gfx/blender-2.79-r1 needs a patch with gcc-8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Debian patch for gcc-8
blender-2.79-fix_gcc-8_ftbfs.patch (text/plain), 2.18 KB, created by
Helmut Jarausch
on 2018-07-27 12:51:54 UTC
(
hide
)
Description:
Debian patch for gcc-8
Filename:
MIME Type:
Creator:
Helmut Jarausch
Created:
2018-07-27 12:51:54 UTC
Size:
2.18 KB
patch
obsolete
>From: "Matteo F. Vescovi" <mfv@debian.org> >Date: Sat, 21 Jul 2018 21:30:57 +0200 >Subject: fix_gcc-8_ftbfs > >--- > intern/cycles/util/util_sseb.h | 2 +- > intern/cycles/util/util_ssef.h | 2 +- > intern/itasc/kdl/tree.hpp | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/intern/cycles/util/util_sseb.h b/intern/cycles/util/util_sseb.h >index 6e66970..9ffe391 100644 >--- a/intern/cycles/util/util_sseb.h >+++ b/intern/cycles/util/util_sseb.h >@@ -116,7 +116,7 @@ __forceinline const sseb unpacklo( const sseb& a, const sseb& b ) { return _mm_u > __forceinline const sseb unpackhi( const sseb& a, const sseb& b ) { return _mm_unpackhi_ps(a, b); } > > template<size_t i0, size_t i1, size_t i2, size_t i3> __forceinline const sseb shuffle( const sseb& a ) { >- return _mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0)); >+ return _mm_castsi128_ps(_mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0))); > } > > template<> __forceinline const sseb shuffle<0, 1, 0, 1>( const sseb& a ) { >diff --git a/intern/cycles/util/util_ssef.h b/intern/cycles/util/util_ssef.h >index cf99a08..82cc218 100644 >--- a/intern/cycles/util/util_ssef.h >+++ b/intern/cycles/util/util_ssef.h >@@ -603,7 +603,7 @@ ccl_device_inline const ssef uint32_to_float(const ssei &in) > template<size_t S1, size_t S2, size_t S3, size_t S4> > ccl_device_inline const ssef set_sign_bit(const ssef &a) > { >- return a ^ cast(ssei(S1 << 31, S2 << 31, S3 << 31, S4 << 31)); >+ return cast(cast(a) ^ ssei(S1 << 31, S2 << 31, S3 << 31, S4 << 31)); > } > > //////////////////////////////////////////////////////////////////////////////// >diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp >index c8a253f..bd35f82 100644 >--- a/intern/itasc/kdl/tree.hpp >+++ b/intern/itasc/kdl/tree.hpp >@@ -34,7 +34,7 @@ namespace KDL > //Forward declaration > class TreeElement; > // Eigen allocator is needed for alignment of Eigen data types >- typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap; >+ typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<const std::string, TreeElement> > > SegmentMap; > > class TreeElement > {
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 662248
: 541204