/[gentoo-x86]/net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch
Gentoo

Contents of /net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 25 03:32:29 2012 UTC (9 months, 3 weeks ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Backport 2.0.x changes to the ebuild to 1.4.7 (and use a patchset tarball); re-sync a few things lost in 2.0.x; cleanup old ebuilds and files.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 From 480f78e713b9e9a425ad425342afac70420a4043 Mon Sep 17 00:00:00 2001
2 From: Jeremy Olexa <darkside@gentoo.org>
3 Date: Wed, 18 Apr 2012 16:30:57 +0000
4 Subject: [PATCH] Fix warnings from previous patch
5
6 Use of uninitialized value $Munin::Common::Defaults::MUNIN_VERSION in
7 sprintf at /etc/munin/plugins/nginx_status line 110.
8 ---
9 plugins/node.d/nginx_request.in | 2 ++
10 plugins/node.d/nginx_status.in | 2 ++
11 2 files changed, 4 insertions(+), 0 deletions(-)
12
13 diff --git a/plugins/node.d/nginx_request.in b/plugins/node.d/nginx_request.in
14 index 402ce54..d3933e1 100644
15 --- a/plugins/node.d/nginx_request.in
16 +++ b/plugins/node.d/nginx_request.in
17 @@ -55,6 +55,8 @@ license. Munin is GPLv2 licensed.
18
19 =cut
20
21 +use Munin::Plugin;
22 +
23 my $ret = undef;
24
25 if (! eval "require LWP::UserAgent;"){
26 diff --git a/plugins/node.d/nginx_status.in b/plugins/node.d/nginx_status.in
27 index 0d5d966..a427fc0 100644
28 --- a/plugins/node.d/nginx_status.in
29 +++ b/plugins/node.d/nginx_status.in
30 @@ -55,6 +55,8 @@ license. Munin is GPLv2 licensed.
31
32 =cut
33
34 +use Munin::Plugin;
35 +
36 my $ret = undef;
37
38 if (! eval "require LWP::UserAgent;"){
39 --
40 1.7.3.4
41

  ViewVC Help
Powered by ViewVC 1.1.13