summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 55cc5cb)
raw | patch | inline | side by side (parent: 55cc5cb)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Sep 2008 08:23:06 +0000 (10:23 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Sep 2008 08:23:06 +0000 (10:23 +0200) |
Trivial upstream patch to fix a typo in the libstatgrab code of the memory
plugin.
plugin.
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/memory_libstatgrab.dpatch | [new file with mode: 0755] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index 207abd111da852a97581cc56e4f5d85cd6a0eda7..3481a96a4cf7fbd81916b23d5c33ae9d30ccf0a1 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
in 4.4.1-1 and instead build depend on libopenipmi-dev (>= 2.0.14-1~)
which includes fixed .pc files. This fixes an undefined symbol error when
loading the ipmi plugin caused by that work around (Closes: #494665).
+ * Added debian/patches/memory_libstatgrab.dpatch - trivial upstream patch to
+ fix a typo in the libstatgrab code of the memory plugin.
- -- Sebastian Harl <sh@tokkee.org> Mon, 11 Aug 2008 16:45:22 +0200
+ -- Sebastian Harl <sh@tokkee.org> Wed, 17 Sep 2008 10:19:47 +0200
collectd (4.4.2-1) unstable; urgency=low
diff --git a/debian/patches/00list b/debian/patches/00list
index 5c012942f2cf9e6df557979637e2061385948849..bc01ecdd43e05821757cf5ee8e8a92c60b473dc5 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
rrd_filter_path.dpatch
collection_conf_path.dpatch
myplugin_strcpy.dpatch
+memory_libstatgrab.dpatch
diff --git a/debian/patches/memory_libstatgrab.dpatch b/debian/patches/memory_libstatgrab.dpatch
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## memory_libstatgrab.dpatch by Michael Stapelberg <michael+git@stapelberg.de>
+##
+## DP: Fix a typo in the libstatgrab code of the memory plugin. This is
+## DP: relevant for e.g. GNU/kfreebsd.
+## DP: (This is upstream Git commit 59f405559485a04c30b88c2f68fa9e112bdab6a6)
+
+@DPATCH@
+
+diff a/src/memory.c b/src/memory.c
+--- a/src/memory.c
++++ b/src/memory.c
+@@ -319,7 +319,7 @@ static int memory_read (void)
+ if ((ios = sg_get_mem_stats ()) != NULL)
+ {
+ memory_submit ("used", ios->used);
+- memory_submit ("cached", ios->cached);
++ memory_submit ("cached", ios->cache);
+ memory_submit ("free", ios->free);
+ }
+ #endif /* HAVE_LIBSTATGRAB */