summaryrefslogtreecommitdiffstats
path: root/package/lsof/0002-noportmap.patch
blob: 984e0d8eacc6116c8c3447c96817f246b7020b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/print.c	2006-08-23 13:37:43.000000000 -0600
+++ b/print.c	2006-08-23 13:38:29.000000000 -0600
@@ -148,6 +148,7 @@
 static void
 fill_portmap()
 {
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
 	char buf[128], *cp, *nm;
 	CLIENT *c;
 	int h, port, pr;
@@ -266,6 +267,7 @@
 	    Pth[pr][h] = pt;
 	}
 	clnt_destroy(c);
+#endif
 }
 
 
OpenPOWER on IntegriCloud