From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 4/5] package/nodejs: fix support for uClibc-ng
Date: Fri, 18 Dec 2015 22:15:30 +0100 [thread overview]
Message-ID: <20151218211530.GE27578@free.fr> (raw)
In-Reply-To: <1450394426-3349-4-git-send-email-martin@barkynet.com>
Martin, All,
On 2015-12-17 23:20 +0000, Martin Bark spake thusly:
> Fix segmentation fault in node.js when using uClibc-ng.
>
> This patch fixes bug #8296, see
> https://bugs.busybox.net/show_bug.cgi?id=8296.
>
> Signed-off-by: Martin Bark <martin@barkynet.com>
>
> ---
[--SNIP--]
> diff --git a/package/nodejs/5.3.0/0006-Fix-support-for-uClibc-ng.patch b/package/nodejs/5.3.0/0006-Fix-support-for-uClibc-ng.patch
> new file mode 100644
> index 0000000..918a36a
> --- /dev/null
> +++ b/package/nodejs/5.3.0/0006-Fix-support-for-uClibc-ng.patch
> @@ -0,0 +1,32 @@
> +From 1cc08f6ceacbb0e5ba1f4638ca3a97ac002d7792 Mon Sep 17 00:00:00 2001
> +From: "Bark, Martin" <martin.bark@te.com>
> +Date: Mon, 14 Dec 2015 13:26:10 +0000
> +Subject: [PATCH 2/2] Fix support for uClibc-ng
> +
> +uClibc-ng is currently at v1.0.9. The patch corrects the uClibc
> +version test so that HAVE_IFADDRS_H is defined for uClibc versions
> +after v0.9.32.
> +
> +Submitted upstream to libuv, see https://github.com/libuv/libuv/pull/653
And that has since been accepted and applied:
https://github.com/libuv/libuv/commit/c8619721404c2a9f97adc34a8c3b5336317311bc
Regards,
Yann E. MORIN.
> +Signed-off-by: Bark, Martin <martin.bark@te.com>
> +---
> + deps/uv/src/unix/linux-core.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/deps/uv/src/unix/linux-core.c b/deps/uv/src/unix/linux-core.c
> +index e6e6828..6cbbb71 100644
> +--- a/deps/uv/src/unix/linux-core.c
> ++++ b/deps/uv/src/unix/linux-core.c
> +@@ -39,7 +39,7 @@
> + #define HAVE_IFADDRS_H 1
> +
> + #ifdef __UCLIBC__
> +-# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32
> ++# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32
> + # undef HAVE_IFADDRS_H
> + # endif
> + #endif
> +--
> +2.6.2
> +
> --
> 2.5.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-12-18 21:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-17 23:20 [Buildroot] [PATCH v2 1/5] package/nodejs: bump version to 5.3.0 Martin Bark
2015-12-17 23:20 ` [Buildroot] [PATCH v2 2/5] package/nodejs: removed version 0.12.9 Martin Bark
2015-12-17 23:20 ` [Buildroot] [PATCH v2 3/5] package/nodejs: correct 0.10.x option name Martin Bark
2015-12-18 21:12 ` Yann E. MORIN
2015-12-18 22:47 ` Arnout Vandecappelle
2015-12-20 17:03 ` Martin Bark
2015-12-17 23:20 ` [Buildroot] [PATCH v2 4/5] package/nodejs: fix support for uClibc-ng Martin Bark
2015-12-18 21:15 ` Yann E. MORIN [this message]
2015-12-20 16:58 ` Martin Bark
2015-12-17 23:20 ` [Buildroot] [PATCH v2 5/5] package/libuv: " Martin Bark
2015-12-18 21:09 ` [Buildroot] [PATCH v2 1/5] package/nodejs: bump version to 5.3.0 Yann E. MORIN
2015-12-18 21:35 ` Yann E. MORIN
2015-12-20 16:59 ` Martin Bark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151218211530.GE27578@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.