By default RPC is disabled in uClibc. Removing rpc/netdb.h doesn't seem to
have any impact on configured owfs applications.

Fixes #9426

Signed-off-by: Wojciech Dubowik <wojciech.dubo...@neratec.com>
---
 utils/owfs/patches/001-compile-fix.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 utils/owfs/patches/001-compile-fix.patch

diff --git a/utils/owfs/patches/001-compile-fix.patch 
b/utils/owfs/patches/001-compile-fix.patch
new file mode 100644
index 0000000..45d1d4a
--- /dev/null
+++ b/utils/owfs/patches/001-compile-fix.patch
@@ -0,0 +1,11 @@
+--- a/module/owlib/src/include/compat_netdb.h.orig
++++ a/module/owlib/src/include/compat_netdb.h
+@@ -66,7 +66,7 @@
+ #ifdef __USE_MISC
+ /* This is necessary to make this include file properly replace the
+    Sun version.  */
+-# include <rpc/netdb.h>
++//# include <rpc/netdb.h>
+ #endif
+ 
+ #ifdef HAVE_BITS_NETDB_H
-- 
1.7.4.1

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to