On Tue, Aug 04, 2020 at 10:34:59PM -0400, Daniel Dickman wrote:
> > emulators/dolphin
> > games/gzdoom
> 
> These two should be 1-liner fixes. See:
> 
> https://github.com/KhronosGroup/glslang/pull/2010/commits/24b3e8384e93f3e73b6aa14ea00a30574112f9ba

Works fine for gzdoom. Diff below (no bump needed I think):


Index: patches/patch-libraries_glslang_glslang_Include_PoolAlloc_h
===================================================================
RCS file: patches/patch-libraries_glslang_glslang_Include_PoolAlloc_h
diff -N patches/patch-libraries_glslang_glslang_Include_PoolAlloc_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libraries_glslang_glslang_Include_PoolAlloc_h 6 Aug 2020 
10:07:11 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: libraries/glslang/glslang/Include/PoolAlloc.h
+--- libraries/glslang/glslang/Include/PoolAlloc.h.orig
++++ libraries/glslang/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:

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to