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

30 lines
989 B
Diff
Raw Normal View History

2022-03-18 10:40:36 +01:00
diff '--color=auto' -uNr node-v16.14.2.orig/deps/uv/uv.gyp node-v16.14.2/deps/uv/uv.gyp
--- node-v16.14.2.orig/deps/uv/uv.gyp 2022-03-18 15:06:20.271091189 +0530
+++ node-v16.14.2/deps/uv/uv.gyp 2022-03-18 15:08:18.801091144 +0530
2021-09-28 15:56:28 +02:00
@@ -40,7 +40,7 @@
{
'target_name': 'libuv',
'type': '<(uv_library)',
- 'include_dirs': [
+ 'include_dirs+': [
'include',
'src/',
],
2021-09-28 15:56:28 +02:00
@@ -55,7 +55,7 @@
'<@(shared_unix_defines)',
'<@(shared_zos_defines)',
],
- 'include_dirs': [ 'include' ],
+ 'include_dirs+': [ 'include' ],
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
2022-03-18 10:40:36 +01:00
@@ -247,6 +247,7 @@
2021-10-28 11:37:10 +02:00
'src/unix/procfs-exepath.c',
'src/unix/random-getrandom.c',
'src/unix/random-sysctl-linux.c',
2021-09-28 15:56:28 +02:00
+ 'src/unix/epoll.c',
2021-10-28 11:37:10 +02:00
],
'link_settings': {
2022-03-18 10:40:36 +01:00
'libraries': [ '-ldl', '-lrt' ],