summaryrefslogtreecommitdiff
path: root/package/lsof/lsof-4.85-noportmap.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-10-07 12:25:21 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-07 21:29:51 +0200
commitfaf408f4affa448a042448d905b2dbe2402fbd02 (patch)
tree3091f6ddb6a3d63a6e5b05abbe3252477536c062 /package/lsof/lsof-4.85-noportmap.patch
parent9db9779a3f240b10bb4f1a3e649f1829b6f35c6b (diff)
lsof: bump to version 4.85
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lsof/lsof-4.85-noportmap.patch')
-rw-r--r--package/lsof/lsof-4.85-noportmap.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/lsof/lsof-4.85-noportmap.patch b/package/lsof/lsof-4.85-noportmap.patch
new file mode 100644
index 000000000..984e0d8ea
--- /dev/null
+++ b/package/lsof/lsof-4.85-noportmap.patch
@@ -0,0 +1,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
+ }
+
+