summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c768905)
raw | patch | inline | side by side (parent: c768905)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 1 Dec 2008 20:27:23 +0000 (21:27 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 1 Dec 2008 20:27:23 +0000 (21:27 +0100) |
Upstream patch to fix an uninitialized variable warning causing a FTBFS
because of -Werror.
because of -Werror.
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/perl-uninitialized-var.dpatch | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index d1bbc0f1bce0f975a9499bee6082c180288723be..7d7e203845228755517951876f94998d76c161ba 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Disabled onewire plugin - owfs is not yet available in Debian.
- Install contrib/snmp-probe-host.px to /usr/share/doc/collectd/examples/.
* debian/patches:
+ - Added perl-uninitialized-var.dpatch - upstream patch to fix an
+ uninitialized variable warning causing a FTBFS because of -Werror.
- Removed myplugin_strcpy.dpatch - applied upstream.
- Removed perl_deadlock.dpatch - included upstream.
- Removed memory_libstatgrab.dpatch - included upstream.
- Removed memcached_fdleak.dpatch - included upstream.
- Removed memcached_timeout.dpatch - included upstream.
- -- Sebastian Harl <sh@tokkee.org> Mon, 01 Dec 2008 21:11:59 +0100
+ -- Sebastian Harl <sh@tokkee.org> Mon, 01 Dec 2008 21:25:58 +0100
collectd (4.4.2-2) unstable; urgency=low
diff --git a/debian/patches/00list b/debian/patches/00list
index 332b35c8333c22b54c6ead8e9d0f6750c3bfbc7f..12d1fc0f24ed08f51f27a9d18c8ab20e136843d5 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
rrd_filter_path.dpatch
collection_conf_path.dpatch
+perl-uninitialized-var.dpatch
diff --git a/debian/patches/perl-uninitialized-var.dpatch b/debian/patches/perl-uninitialized-var.dpatch
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## perl-uninitialized-var.dpatch by Ulrich Habel <rhaen@netbsd.org>
+##
+## DP: Fixed an uninitialized variable warning.
+
+@DPATCH@
+
+diff a/src/perl.c b/src/perl.c
+--- a/src/perl.c
++++ b/src/perl.c
+@@ -1790,7 +1790,7 @@ static int perl_config (oconfig_item_t *ci)
+
+ for (i = 0; i < ci->children_num; ++i) {
+ oconfig_item_t *c = ci->children + i;
+- int current_status;
++ int current_status = 0;
+
+ if (NULL != perl_threads)
+ aTHX = PERL_GET_CONTEXT;