From 8db52c6e78c040d035522ca747acc7752d474cf2 Mon Sep 17 00:00:00 2001 From: Martin Banky Date: Sun, 12 Dec 2010 22:53:53 +0100 Subject: lsof: convert to gentargets and bump to 4.84 lsof is packaged as a tarball inside a .tar.bz2 package, so we have a post-extract hook to extract the source code tarball, so that for the next steps, lsof looks like a normal package. Signed-off-by: Martin Banky Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch (limited to 'package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch') diff --git a/package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch b/package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch new file mode 100644 index 000000000..fca66aee5 --- /dev/null +++ b/package/lsof/lsof-4.84-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) */ + -- cgit v1.2.3