svn commit: r528595 - in head/devel/electron7: . files

Emanuel Haupt ehaupt at FreeBSD.org
Tue Mar 17 19:05:47 UTC 2020


Author: ehaupt
Date: Tue Mar 17 19:05:46 2020
New Revision: 528595
URL: https://svnweb.freebsd.org/changeset/ports/528595

Log:
  Fix build with -CURRENT
  
  Submitted by:   maintainer (via Github)

Added:
  head/devel/electron7/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h   (contents, props changed)
Modified:
  head/devel/electron7/Makefile

Modified: head/devel/electron7/Makefile
==============================================================================
--- head/devel/electron7/Makefile	Tue Mar 17 18:57:25 2020	(r528594)
+++ head/devel/electron7/Makefile	Tue Mar 17 19:05:46 2020	(r528595)
@@ -3,6 +3,7 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v7.1.5/:chromium \
 		https://commondatastorage.googleapis.com/chromium-browser-official/:chromium_official \

Added: head/devel/electron7/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/electron7/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h	Tue Mar 17 19:05:46 2020	(r528595)
@@ -0,0 +1,10 @@
+--- third_party/glslang/src/glslang/Include/PoolAlloc.h.orig	2020-03-15 10:41:44 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:


More information about the svn-ports-all mailing list