SOURCES: net-snmp-acfix.patch - that was bug in autoconf; drop tha...

arekm arekm at pld-linux.org
Thu Dec 21 01:52:05 CET 2006


Author: arekm                        Date: Thu Dec 21 00:52:05 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- that was bug in autoconf; drop that part

---- Files affected:
SOURCES:
   net-snmp-acfix.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/net-snmp-acfix.patch
diff -u SOURCES/net-snmp-acfix.patch:1.8 SOURCES/net-snmp-acfix.patch:1.9
--- SOURCES/net-snmp-acfix.patch:1.8	Sat Dec  2 13:30:27 2006
+++ SOURCES/net-snmp-acfix.patch	Thu Dec 21 01:51:59 2006
@@ -66,63 +66,4 @@
  
  all: standardall $(LOBJS)
  
---- net-snmp-5.4/agent/mibgroup/ucd-snmp/disk.c.orig	2006-09-15 02:48:41.000000000 +0200
-+++ net-snmp-5.4/agent/mibgroup/ucd-snmp/disk.c	2006-12-02 12:03:27.889382250 +0100
-@@ -229,7 +229,7 @@
- static void 
- disk_parse_config(const char *token, char *cptr)
- {
--#if HAVE_FSTAB_H || HAVE_GETMNTENT || HAVE_STATFS
-+#if HAVE_FSTAB_H || defined(HAVE_GETMNTENT) || HAVE_STATFS
-   char            tmpbuf[1024];
-   char            path[STRMAX];
-   int             minpercent;
-@@ -296,7 +296,7 @@
- static void 
- disk_parse_config_all(const char *token, char *cptr)
- {
--#if HAVE_FSTAB_H || HAVE_GETMNTENT || HAVE_STATFS
-+#if HAVE_FSTAB_H || defined(HAVE_GETMNTENT) || HAVE_STATFS
-   char            tmpbuf[1024];
-   int             minpercent = DISKMINPERCENT;
-     
-@@ -428,7 +428,7 @@
- static void 
- find_and_add_allDisks(int minpercent)
- {
--#if HAVE_GETMNTENT
-+#if defined(HAVE_GETMNTENT)
- #if HAVE_SYS_MNTTAB_H
-   struct mnttab   mnttab;
- #else
-@@ -451,8 +451,8 @@
-    * string declared above and at the end of the routine return it
-    * to the caller 
-    */
--#if HAVE_FSTAB_H || HAVE_GETMNTENT || HAVE_STATFS   
--#if HAVE_GETMNTENT
-+#if HAVE_FSTAB_H || defined(HAVE_GETMNTENT) || HAVE_STATFS   
-+#if defined(HAVE_GETMNTENT)
- #if HAVE_SETMNTENT
-   mntfp = setmntent(ETC_MNTTAB, "r");
-   while (NULL != (mntent = getmntent(mntfp))) {
-@@ -522,7 +522,7 @@
- static char *
- find_device(char *path)
- {
--#if HAVE_GETMNTENT
-+#if defined(HAVE_GETMNTENT)
- #if HAVE_SYS_MNTTAB_H
-   struct mnttab   mnttab;
- #else
-@@ -548,8 +548,8 @@
-    * string declared above and at the end of the routine return it
-    * to the caller 
-    */
--#if HAVE_FSTAB_H || HAVE_GETMNTENT || HAVE_STATFS   
--#if HAVE_GETMNTENT
-+#if HAVE_FSTAB_H || defined(HAVE_GETMNTENT) || HAVE_STATFS   
-+#if defined(HAVE_GETMNTENT)
- #if HAVE_SETMNTENT
-   mntfp = setmntent(ETC_MNTTAB, "r");
-   while (NULL != (mntent = getmntent(mntfp)))
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/net-snmp-acfix.patch?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list