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

30 lines
985 B
Diff
Raw Normal View History

2022-03-26 17:43:05 +01:00
diff '--color=auto' -uNr node-v17.8.0.orig/deps/uv/uv.gyp node-v17.8.0/deps/uv/uv.gyp
--- node-v17.8.0.orig/deps/uv/uv.gyp 2022-03-26 22:11:02.605459286 +0530
+++ node-v17.8.0/deps/uv/uv.gyp 2022-03-26 22:12:03.225459263 +0530
@@ -40,7 +40,7 @@
2017-06-06 23:11:56 +02:00
{
'target_name': 'libuv',
'type': '<(uv_library)',
- 'include_dirs': [
+ 'include_dirs+': [
'include',
'src/',
],
@@ -55,7 +55,7 @@
'<@(shared_unix_defines)',
'<@(shared_zos_defines)',
],
2017-06-06 23:11:56 +02:00
- 'include_dirs': [ 'include' ],
+ 'include_dirs+': [ 'include' ],
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
2022-03-11 16:03:32 +01:00
@@ -247,6 +247,7 @@
'src/unix/procfs-exepath.c',
'src/unix/random-getrandom.c',
'src/unix/random-sysctl-linux.c',
+ 'src/unix/epoll.c',
],
'link_settings': {
2022-03-11 16:03:32 +01:00
'libraries': [ '-ldl', '-lrt' ],