buildroot/package/lsof/0002-remove-susvlegacy-funcs.patch
Baruch Siach 48cc4d658f package/lsof: bump to version 4.93.2
New upstream at github. Update homepage link and download site.

Drop the custom extract command; we now get the source tree from github.

Drop patch #2; the code detects rpc support.

Add optional dependency on libtirpc.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-18 17:50:45 +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) */