kumquat-buildroot/package/lsof/lsof-0004-remove-susvlegacy-funcs.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

13 lines
441 B
Diff

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) */