Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 19:41:48 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546677 - head/editors/atom
Message-ID:  <202008271941.07RJfmhv083649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Thu Aug 27 19:41:48 2020
New Revision: 546677
URL: https://svnweb.freebsd.org/changeset/ports/546677

Log:
  editors/atom: fix build with recent current
  
  Obtained from:	https://github.com/nodejs/node/commit/89a306bca9088a79aed3fb3fd511fff82178d3cb.patch

Modified:
  head/editors/atom/Makefile

Modified: head/editors/atom/Makefile
==============================================================================
--- head/editors/atom/Makefile	Thu Aug 27 19:40:27 2020	(r546676)
+++ head/editors/atom/Makefile	Thu Aug 27 19:41:48 2020	(r546677)
@@ -111,6 +111,9 @@ post-patch:
 		${WRKSRC}/script/lib/install-application.js
 	${REINPLACE_CMD} -e 's|<%= installDir %>|${PREFIX}|' \
 		${WRKSRC}/resources/linux/atom.desktop.in
+	# Fix build with clang11: https://github.com/nodejs/node/commit/89a306bca9088a79aed3fb3fd511fff82178d3cb.patch
+	${REINPLACE_CMD} -e 's|context->VARARGS()|context->VARARGS() != nullptr|g' \
+		${WRKDIR}/node-v10.20.1/deps/v8/src/torque/ast-generator.cc
 
 pre-build: build-apm-node bootstrap-script bootstrap-apm bootstrap-atom clean-backup
 build-apm-node:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008271941.07RJfmhv083649>