9e9d9b2279
Set LSOF_AR and LSOF_CC to be able to drop first patch which is not upstreamable: https://github.com/lsof-org/lsof/issues/197 $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it is already set in LSOF_CONFIGURE_CMDS Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Arnout: add quotes around TARGET_CC] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
13 lines
441 B
Diff
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) */
|
|
|