summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-remove-susvlegacy-funcs.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-15 11:23:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-15 11:23:46 +0000
commitc1efa9b291f0aa1453ea6359cc6638c0e75b2ca7 (patch)
tree052e80bf0a4b6f0f40888e8e5c4578ab5baa14d1 /package/lsof/lsof-remove-susvlegacy-funcs.patch
parent01d97bb0c9925a5882cb2da6932e1ed8597cbb10 (diff)
downloadbuildroot-novena-c1efa9b291f0aa1453ea6359cc6638c0e75b2ca7.tar.gz
buildroot-novena-c1efa9b291f0aa1453ea6359cc6638c0e75b2ca7.zip
- bump version
Diffstat (limited to 'package/lsof/lsof-remove-susvlegacy-funcs.patch')
-rw-r--r--package/lsof/lsof-remove-susvlegacy-funcs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/lsof/lsof-remove-susvlegacy-funcs.patch b/package/lsof/lsof-remove-susvlegacy-funcs.patch
new file mode 100644
index 000000000..b2fdfb4db
--- /dev/null
+++ b/package/lsof/lsof-remove-susvlegacy-funcs.patch
@@ -0,0 +1,12 @@
+diff -rdup lsof_4.78.orig/lsof_4.78_src/dialects/linux/machine.h lsof_4.78/lsof_4.78_src/dialects/linux/machine.h
+--- lsof_4.78.orig/lsof_4.78_src/dialects/linux/machine.h 2007-04-24 18:20:58.000000000 +0200
++++ lsof_4.78/lsof_4.78_src/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) */
+