diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-06 03:00:44 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-06 03:00:44 +0000 |
commit | 23cf36fdb508ae89f21b11b78628be0b18217ef7 (patch) | |
tree | d272ba027145d8d748455947311c47fc830c8ff6 /user/node/stack-silliness.patch | |
parent | 6adbc526edefc3dd00332922be259e9728ca3de7 (diff) | |
download | packages-23cf36fdb508ae89f21b11b78628be0b18217ef7.tar.gz packages-23cf36fdb508ae89f21b11b78628be0b18217ef7.tar.bz2 packages-23cf36fdb508ae89f21b11b78628be0b18217ef7.tar.xz packages-23cf36fdb508ae89f21b11b78628be0b18217ef7.zip |
user/node: new package
Diffstat (limited to 'user/node/stack-silliness.patch')
-rw-r--r-- | user/node/stack-silliness.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/node/stack-silliness.patch b/user/node/stack-silliness.patch new file mode 100644 index 000000000..e8d775b73 --- /dev/null +++ b/user/node/stack-silliness.patch @@ -0,0 +1,14 @@ +--- node-v10.15.3/src/inspector_agent.cc.old 2019-03-05 15:16:32.000000000 +0000 ++++ node-v10.15.3/src/inspector_agent.cc 2019-04-06 02:03:11.082016553 +0000 +@@ -104,9 +104,9 @@ + // Don't shrink the thread's stack on FreeBSD. Said platform decided to + // follow the pthreads specification to the letter rather than in spirit: + // https://lists.freebsd.org/pipermail/freebsd-current/2014-March/048885.html +-#ifndef __FreeBSD__ ++#ifdef __GLIBC__ + CHECK_EQ(0, pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN)); +-#endif // __FreeBSD__ ++#endif // __GLIBC__ + CHECK_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); + sigset_t sigmask; + // Mask all signals. |