termux-packages/packages/nodejs-lts/deps-uv-uv.gyp.patch

31 lines
1001 B
Diff
Raw Normal View History

diff -u -r ../node-v12.14.0/deps/uv/uv.gyp ./deps/uv/uv.gyp
--- ../node-v12.14.0/deps/uv/uv.gyp 2019-12-17 07:05:03.000000000 +0000
+++ ./deps/uv/uv.gyp 2020-01-02 19:42:31.757217000 +0000
@@ -40,7 +40,7 @@
{
'target_name': 'libuv',
'type': '<(uv_library)',
- 'include_dirs': [
+ 'include_dirs+': [
'include',
'src/',
],
@@ -55,7 +55,7 @@
'<@(shared_unix_defines)',
'<@(shared_zos_defines)',
],
- 'include_dirs': [ 'include' ],
+ 'include_dirs+': [ 'include' ],
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
@@ -261,6 +261,8 @@
'src/unix/pthread-fixes.c',
'src/unix/android-ifaddrs.c',
'src/unix/procfs-exepath.c',
+ 'src/unix/random-getrandom.c',
+ 'src/unix/random-sysctl.c',
'src/unix/sysinfo-loadavg.c',
'src/unix/sysinfo-memory.c',
],