package/nodejs: force the use of python2
[buildroot-gz.git] / package / nodejs / 5.6.0 / 0004-Fix-support-for-uClibc-ng.patch
blob59b9d5044c27ff11d4bb2cf7755cd8d89d6772dd
1 From 1cc08f6ceacbb0e5ba1f4638ca3a97ac002d7792 Mon Sep 17 00:00:00 2001
2 From: "Bark, Martin" <martin.bark@te.com>
3 Date: Mon, 14 Dec 2015 13:26:10 +0000
4 Subject: [PATCH 2/2] Fix support for uClibc-ng
6 uClibc-ng is currently at v1.0.9. The patch corrects the uClibc
7 version test so that HAVE_IFADDRS_H is defined for uClibc versions
8 after v0.9.32.
10 Submitted upstream to libuv and accepted, see
11 https://github.com/libuv/libuv/pull/653 and
12 https://github.com/libuv/libuv/commit/c861972
14 Signed-off-by: Bark, Martin <martin.bark@te.com>
15 ---
16 deps/uv/src/unix/linux-core.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 diff --git a/deps/uv/src/unix/linux-core.c b/deps/uv/src/unix/linux-core.c
20 index e6e6828..6cbbb71 100644
21 --- a/deps/uv/src/unix/linux-core.c
22 +++ b/deps/uv/src/unix/linux-core.c
23 @@ -39,7 +39,7 @@
24 #define HAVE_IFADDRS_H 1
26 #ifdef __UCLIBC__
27 -# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32
28 +# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32
29 # undef HAVE_IFADDRS_H
30 # endif
31 #endif
33 2.6.2