buildrootschalter/package/lsof/lsof-0002-noportmap.patch
Gustavo Zacarias b51d78c4d7 lsof: bump to version 4.87
And install to /usr/bin/lsof rather than /bin/lsof otherwise we still
keep busybox lsof.

[Thomas: fix patch numbering, two patches had the 0001 sequence
number.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29 17:36:29 +02:00

19 lines
371 B
Diff

--- 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
}