Skip to content

Commit 9086cde

Browse files
committed
node: fix build with brewed c-ares
This applies the patch from nodejs/node#39739. This patch has been used to ship Node 16.6.2 on Arch.
1 parent 761a1e2 commit 9086cde

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Formula/node.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ class Node < Formula
4343
sha256 "bf73538dbcd933e5a9d9575c0c39539aee3e70b32e27837037681662d3bc2c0b"
4444
end
4545

46+
# Fix build with brewed c-ares.
47+
# https://github.com/nodejs/node/pull/39739
48+
patch do
49+
url "https://github.com/nodejs/node/commit/8699aa501c4d4e1567ebe8901e5ec80cadaa9323.patch?full_index=1"
50+
sha256 "678643c79258372d5054d3da16bc0c5db17130f151f0e72b6e4f20817987aac9"
51+
end
52+
4653
def install
4754
# make sure subprocesses spawned by make are using our Python 3
4855
ENV["PYTHON"] = Formula["python@3.9"].opt_bin/"python3"

0 commit comments

Comments
 (0)