Wouldn't this patch also be applied if you're compiling with glibc or eglibc?
On 6/22/11 3:38 AM, Wojciech Dubowik wrote: > 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 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel