984e0d8eacc6116c8c3447c96817f246b7020b20
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / lsof / 0002-noportmap.patch
1 --- a/print.c   2006-08-23 13:37:43.000000000 -0600
2 +++ b/print.c   2006-08-23 13:38:29.000000000 -0600
3 @@ -148,6 +148,7 @@
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 @@ -266,6 +267,7 @@
12             Pth[pr][h] = pt;
13         }
14         clnt_destroy(c);
15 +#endif
16  }
17  
18