diff options
author | Martin Bark <martin@barkynet.com> | 2015-12-23 12:16:08 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-23 17:52:07 +0100 |
commit | aa2c3975eb7749cd715dfb513e0b47808b8696fb (patch) | |
tree | 96033178e516720aef2f2dedb73f4d6f392100a9 | |
parent | 5bba3ca130249a2557f250095ccfccb6aadb8576 (diff) | |
download | buildroot-aa2c3975eb7749cd715dfb513e0b47808b8696fb.tar.gz buildroot-aa2c3975eb7749cd715dfb513e0b47808b8696fb.zip |
package/libuv: fix support for uClibc-ng
See https://bugs.busybox.net/show_bug.cgi?id=8296 for further details on
the origins of this bug.
Submitted upstream to libuv and accepted, see
https://github.com/libuv/libuv/pull/653 and
https://github.com/libuv/libuv/commit/c861972
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libuv/0001-unix-fix-support-for-uClibc-ng.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libuv/0001-unix-fix-support-for-uClibc-ng.patch b/package/libuv/0001-unix-fix-support-for-uClibc-ng.patch new file mode 100644 index 0000000000..6aec436d80 --- /dev/null +++ b/package/libuv/0001-unix-fix-support-for-uClibc-ng.patch @@ -0,0 +1,30 @@ +From 21dcb3a98feb3ae6ba862cfbf25fba3361bc8a9b Mon Sep 17 00:00:00 2001 +From: Martin Bark <martin@barkynet.com> +Date: Mon, 14 Dec 2015 21:46:17 +0000 +Subject: [PATCH] unix: 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. + +Signed-off-by: Martin Bark <martin@barkynet.com> +--- + src/unix/linux-core.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/unix/linux-core.c b/src/unix/linux-core.c +index 3ff6fb1..4735bc4 100644 +--- a/src/unix/linux-core.c ++++ b/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.5.0 + |