summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-4.85-remove-susvlegacy-funcs.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-remove-susvlegacy-funcs.patch
parent9db9779a3f240b10bb4f1a3e649f1829b6f35c6b (diff)
downloadbuildroot-novena-faf408f4affa448a042448d905b2dbe2402fbd02.tar.gz
buildroot-novena-faf408f4affa448a042448d905b2dbe2402fbd02.zip
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-remove-susvlegacy-funcs.patch')
-rw-r--r--package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch b/package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
new file mode 100644
index 000000000..fca66aee5
--- /dev/null
+++ b/package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
@@ -0,0 +1,12 @@
+diff -rdup lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h lsof_4.81/lsof_4.81_src/dialects/linux/machine.h
+--- a/dialects/linux/machine.h 2007-04-24 18:20:58.000000000 +0200
++++ b/dialects/linux/machine.h 2007-05-15 12:17:03.000000000 +0200
+@@ -616,6 +616,6 @@
+ * zeromem is a macro that uses bzero or memset.
+ */
+
+-#define zeromem(a, l) bzero(a, l)
++#define zeromem(a, l) memset(a, 0, l)
+
+ #endif /* !defined(LSOF_MACHINE_H) */
+