Code

patches: Removed gmond-fix-compile-error.dpatch.
authorSebastian Harl <sh@tokkee.org>
Mon, 21 Dec 2009 23:41:59 +0000 (00:41 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 21 Dec 2009 23:41:59 +0000 (00:41 +0100)
This patch has been included upstream.

debian/changelog
debian/patches/00list
debian/patches/gmond-fix-compile-error.dpatch [deleted file]

index ad9dd5eec50e4cf0edbf03e93907432d9cfd5b0b..10f416a51fdacc935528878c1a6467b7f3a46f3f 100644 (file)
@@ -23,8 +23,10 @@ collectd (4.8.2-1) unstable; urgency=low
       net-snmp has been fixed to handle that correctly in 5.4.2.1~dfsg-4;
       thanks to Lamont Jones and Dann Frazier for reporting this
       (Closes: #559087).
+  * debian/patches:
+    - Removed gmond-fix-compile-error.dpatch -- included upstream.
 
- -- Sebastian Harl <tokkee@debian.org>  Mon, 21 Dec 2009 23:43:14 +0100
+ -- Sebastian Harl <tokkee@debian.org>  Tue, 22 Dec 2009 00:41:03 +0100
 
 collectd (4.8.1-2) unstable; urgency=low
 
index b21ebd38e4d9365217768fc9962377bf4a36f101..332b35c8333c22b54c6ead8e9d0f6750c3bfbc7f 100644 (file)
@@ -1,4 +1,3 @@
 rrd_filter_path.dpatch
 collection_conf_path.dpatch
-gmond-fix-compile-error.dpatch
 
diff --git a/debian/patches/gmond-fix-compile-error.dpatch b/debian/patches/gmond-fix-compile-error.dpatch
deleted file mode 100644 (file)
index c4f8e72..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## gmond-fix-compile-error.dpatch by Sebastian Harl <sh@tokkee.org>
-##
-## DP: gmond plugin: Fixed a typo.
-## DP:
-## DP: For some reason, the value_t members "derive" and "absolute" had been
-## DP: spelled in all capital letters, obviously resulting in a build error.
-
-@DPATCH@
-
-diff a/src/gmond.c b/src/gmond.c
---- a/src/gmond.c
-+++ b/src/gmond.c
-@@ -542,9 +542,9 @@ static int staging_entry_update (const char *host, const char *name, /* {{{ */
-   else if (ds_type == DS_TYPE_GAUGE)
-     se->vl.values[ds_index].gauge = value.gauge;
-   else if (ds_type == DS_TYPE_DERIVE)
--    se->vl.values[ds_index].DERIVE += value.derive;
-+    se->vl.values[ds_index].derive += value.derive;
-   else if (ds_type == DS_TYPE_ABSOLUTE)
--    se->vl.values[ds_index].ABSOLUTE = value.absolute;
-+    se->vl.values[ds_index].absolute = value.absolute;
-   se->flags |= (0x01 << ds_index);