002-lsof_noportmap.patch (357B)
1 --- a/print.c 2 +++ b/print.c 3 @@ -161,6 +161,7 @@ endnm(sz) 4 static void 5 fill_portmap() 6 { 7 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__) 8 char buf[128], *cp, *nm; 9 CLIENT *c; 10 int h, port, pr; 11 @@ -279,6 +280,7 @@ fill_portmap() 12 Pth[pr][h] = pt; 13 } 14 clnt_destroy(c); 15 +#endif 16 } 17 #endif /* !defined(HASNORPC_H) */ 18