summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2006-07-18 16:30:34 +0000
committerLance Albertson <ramereth@gentoo.org>2006-07-18 16:30:34 +0000
commit4bc241980f69775bf0bf95e0df5b707097678e70 (patch)
tree56a7b8c8ca6796a09fded94b1d3218f602ca37da /net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch
parentSecurity version bump wrt bug #140856 (diff)
downloadhistorical-4bc241980f69775bf0bf95e0df5b707097678e70.tar.gz
historical-4bc241980f69775bf0bf95e0df5b707097678e70.tar.bz2
historical-4bc241980f69775bf0bf95e0df5b707097678e70.zip
fix bug 138690 and 138731, clean out old ebuild
Package-Manager: portage-2.1-r1
Diffstat (limited to 'net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch')
-rw-r--r--net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch
new file mode 100644
index 000000000000..b32a09a946f5
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.3-check_disk-fix.patch
@@ -0,0 +1,65 @@
+Source: <URL:http://nagiosplug.cvs.sourceforge.net/nagiosplug/nagiosplug/plugins/check_disk.c?r1=1.64&r2=1.65&diff_format=u>
+
+--- nagiosplug-old/plugins/check_disk.c 2006/03/27 08:19:01 1.64
++++ nagiosplug-new/plugins/check_disk.c 2006/05/02 08:30:21 1.65
+@@ -14,13 +14,13 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+- $Id: nagios-plugins-1.4.3-check_disk-fix.patch,v 1.1 2006/07/18 16:30:34 ramereth Exp $
++ $Id: nagios-plugins-1.4.3-check_disk-fix.patch,v 1.1 2006/07/18 16:30:34 ramereth Exp $
+
+ *****************************************************************************/
+
+ const char *progname = "check_disk";
+ const char *program_name = "check_disk"; /* Required for coreutils libs */
+-const char *revision = "$Revision: 1.1 $";
++const char *revision = "$Revision: 1.1 $";
+ const char *copyright = "1999-2005";
+ const char *email = "nagiosplug-devel@lists.sourceforge.net";
+
+@@ -462,6 +462,8 @@
+ se->c_df = c_df;
+ se->w_dfp = w_dfp;
+ se->c_dfp = c_dfp;
++ se->w_idfp = w_idfp;
++ se->c_idfp = c_idfp;
+ se->found = 0;
+ se->found_len = 0;
+ *pathtail = se;
+@@ -480,6 +482,8 @@
+ se->c_df = 0;
+ se->w_dfp = 0;
+ se->c_dfp = 0;
++ se->w_idfp = 0;
++ se->c_idfp = 0;
+ se->found = 0;
+ se->found_len = 0;
+ *dptail = se;
+@@ -497,6 +501,8 @@
+ se->c_df = 0;
+ se->w_dfp = 0;
+ se->c_dfp = 0;
++ se->w_idfp = 0;
++ se->c_idfp = 0;
+ se->found = 0;
+ se->found_len = 0;
+ *fstail = se;
+@@ -519,6 +525,8 @@
+ c_df = 0;
+ w_dfp = -1.0;
+ c_dfp = -1.0;
++ w_idfp = -1.0;
++ c_idfp = -1.0;
+ break;
+ case 'V': /* version */
+ print_revision (progname, revision);
+@@ -547,6 +555,8 @@
+ se->c_df = c_df;
+ se->w_dfp = w_dfp;
+ se->c_dfp = c_dfp;
++ se->w_idfp = w_idfp;
++ se->c_idfp = c_idfp;
+ se->found =0;
+ se->found_len = 0;
+ *pathtail = se;