svn commit: r546677 - head/editors/atom
Tobias C. Berner
tcberner at FreeBSD.org
Thu Aug 27 19:41:48 UTC 2020
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:
More information about the svn-ports-head
mailing list