boklm pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
a1e364d3 by Pier Angelo Vendrame at 2025-06-12T18:18:59+02:00
Bug 41488: Disable sys/random.h for Node.js.

It is not available in the glibc version we use in our Linux
containers.

- - - - -


1 changed file:

- projects/node/build


Changes:

=====================================
projects/node/build
=====================================
@@ -11,6 +11,11 @@ distdir=/var/tmp/dist/[% project %]
 tar -xf [% c('input_files_by_name/node') %]
 cd node-v[% c('version') %]
 
+[% IF c("var/linux") -%]
+  # Same workaround as Mozilla. See taskcluster/scripts/misc/build-nodejs.sh.
+  sed -i '/HAVE_SYS_RANDOM_H/d;/HAVE_GETRANDOM/d' 
deps/cares/config/linux/ares_config.h
+[% END -%]
+
 ./configure --prefix=$distdir
 make -j[% c("num_procs") %]
 make install



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a1e364d366e5ffa18026857f759aec70b327e796

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a1e364d366e5ffa18026857f759aec70b327e796
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to