]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- that was bug in autoconf; drop that part
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Dec 2006 00:51:59 +0000 (00:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-acfix.patch -> 1.9

net-snmp-acfix.patch

index f2e07a278585f1ee5b5fa062daeb0e9419220aa8..cb5b5517f9511acb450b05e3b2e3e4c698690acc 100644 (file)
@@ -66,63 +66,4 @@ diff -ur net-snmp-5.3.org/configure.in net-snmp-5.3/configure.in
  
  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)))
+
This page took 0.108514 seconds and 4 git commands to generate.