FreeBSD Bugzilla – Attachment 212068 Details for
Bug 244503
www/chromium: Fix build with clang 10.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix www/iridium build with clang 10.0.0
www__iridium-fix-clang10-build-1.diff (text/plain), 4.92 KB, created by
Dimitry Andric
on 2020-03-01 08:58:14 UTC
(
hide
)
Description:
Fix www/iridium build with clang 10.0.0
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-03-01 08:58:14 UTC
Size:
4.92 KB
patch
obsolete
>Index: www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.h >=================================================================== >--- www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.h (nonexistent) >+++ www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.h (working copy) >@@ -0,0 +1,20 @@ >+commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba >+Author: Reid Kleckner <rnk@google.com> >+Date: Wed Dec 4 14:09:03 2019 -0800 >+ >+ Remove glslang::pool_allocator::setAllocator >+ >+ TPoolAllocator is not copy assignable, so this setter could never have >+ been used. After a recent change (878a24ee2), new versions of Clang >+ reject this code outright. >+ >+--- third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h.orig 2019-04-05 00:55:17 UTC >++++ third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h >+@@ -304,7 +304,6 @@ class pool_allocator { (public) >+ size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } >+ size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } >+ >+- void setAllocator(TPoolAllocator* a) { allocator = *a; } >+ TPoolAllocator& getAllocator() const { return allocator; } >+ >+ protected: > >Property changes on: www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.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 >Index: www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h >=================================================================== >--- www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h (nonexistent) >+++ www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h (working copy) >@@ -0,0 +1,20 @@ >+commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba >+Author: Reid Kleckner <rnk@google.com> >+Date: Wed Dec 4 14:09:03 2019 -0800 >+ >+ Remove glslang::pool_allocator::setAllocator >+ >+ TPoolAllocator is not copy assignable, so this setter could never have >+ been used. After a recent change (878a24ee2), new versions of Clang >+ reject this code outright. >+ >+--- third_party/glslang/src/glslang/Include/PoolAlloc.h.orig 2019-04-05 00:55:12 UTC >++++ third_party/glslang/src/glslang/Include/PoolAlloc.h >+@@ -304,7 +304,6 @@ class pool_allocator { (public) >+ size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } >+ size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } >+ >+- void setAllocator(TPoolAllocator* a) { allocator = *a; } >+ TPoolAllocator& getAllocator() const { return allocator; } >+ >+ protected: > >Property changes on: www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.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 >Index: www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.h >=================================================================== >--- www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.h (nonexistent) >+++ www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.h (working copy) >@@ -0,0 +1,20 @@ >+commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba >+Author: Reid Kleckner <rnk@google.com> >+Date: Wed Dec 4 14:09:03 2019 -0800 >+ >+ Remove glslang::pool_allocator::setAllocator >+ >+ TPoolAllocator is not copy assignable, so this setter could never have >+ been used. After a recent change (878a24ee2), new versions of Clang >+ reject this code outright. >+ >+--- third_party/swiftshader/src/OpenGL/compiler/PoolAlloc.h.orig 2019-04-05 00:55:15 UTC >++++ third_party/swiftshader/src/OpenGL/compiler/PoolAlloc.h >+@@ -304,7 +304,6 @@ class pool_allocator { (public) >+ size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } >+ size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } >+ >+- void setAllocator(TPoolAllocator *a) { allocator = a; } >+ TPoolAllocator& getAllocator() const { return *allocator; } >+ >+ protected: > >Property changes on: www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.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 244503
:
212027
| 212068 |
212069
|
212070