| From 488146b78fc256b0efdbecf19b6cc6dd9c5b8a7d Mon Sep 17 00:00:00 2001 |
| From: Jean-Francois Thibert <jfthibert@google.com> |
| Date: Wed, 9 Dec 2015 13:43:14 -0500 |
| Subject: [PATCH] Disable link warnings in uclibc resolv.c |
| |
| |
| diff --git a/package/uclibc/0.9.33.2/uclibc-0073-disable-resolv-link-warnings.patch b/package/uclibc/0.9.33.2/uclibc-0073-disable-resolv-link-warnings.patch |
| new file mode 100644 |
| index 0000000..0bd87e9 |
| --- /dev/null |
| +++ b/package/uclibc/0.9.33.2/uclibc-0073-disable-resolv-link-warnings.patch |
| @@ -0,0 +1,13 @@ |
| +--- a/libc/inet/resolv.c 2015-12-09 13:39:37.762677867 -0500 |
| ++++ b/libc/inet/resolv.c 2015-12-09 12:41:27.866151199 -0500 |
| +@@ -320,6 +320,10 @@ |
| + #include <bits/uClibc_mutex.h> |
| + #include "internal/parse_config.h" |
| + |
| ++/* TODO(jfthibert) Patch libraries using deprecated functions */ |
| ++#undef link_warning |
| ++#define link_warning(A,B) |
| ++ |
| + /* poll() is not supported in kernel <= 2.0, therefore if __NR_poll is |
| + * not available, we assume an old Linux kernel is in use and we will |
| + * use select() instead. */ |