diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-06-24 08:46:44 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-06-24 08:46:44 +0800 |
commit | 6a7ce6d4896341f679e01acf8461cf0b293bccef (patch) | |
tree | d3658a65e04f4e9374777bbfd6c17a0fc5e6ca85 /net-mgmt/net-snmp | |
parent | c1ce8cad767fbc9656090b6bc0c7b5ca4c4d9f15 (diff) | |
download | freebsd-ports-gnome-6a7ce6d4896341f679e01acf8461cf0b293bccef.tar.gz freebsd-ports-gnome-6a7ce6d4896341f679e01acf8461cf0b293bccef.tar.zst freebsd-ports-gnome-6a7ce6d4896341f679e01acf8461cf0b293bccef.zip |
Fix breakage on latest -current.
This breakage is caused because:
o struct statvfs is defined and statvfs() function is declared.
o statvfs() function is not yet implemented.
So detection of statvfs related is commented out until function will
be implemented.
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r-- | net-mgmt/net-snmp/files/patch-al | 61 |
1 files changed, 57 insertions, 4 deletions
diff --git a/net-mgmt/net-snmp/files/patch-al b/net-mgmt/net-snmp/files/patch-al index c2464056b6bc..c50e4967d041 100644 --- a/net-mgmt/net-snmp/files/patch-al +++ b/net-mgmt/net-snmp/files/patch-al @@ -1,6 +1,6 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ +--- configure.in.orig Tue May 7 08:12:10 2002 ++++ configure.in Mon Jun 24 09:38:33 2002 +@@ -1772,6 +1772,26 @@ AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, [ @@ -26,4 +26,57 @@ + dnl 4.4 compat AC_TRY_COMPILE([ - #include <sys/types.h> + #ifdef HAVE_SYS_PARAM_H +@@ -2117,29 +2137,29 @@ + #endif + ],swdevt,sw_nblksenabled) + +-AC_CHECK_STRUCT_FOR([ +-#ifdef HAVE_SYS_STAT_H +-#include <sys/stat.h> +-#endif +-#if HAVE_SYS_STATFS_H +-#include <sys/statfs.h> +-#endif +-#if HAVE_SYS_STATVFS_H +-#include <sys/statvfs.h> +-#endif +-],statvfs,f_frsize) +- +-AC_CHECK_STRUCT_FOR([ +-#ifdef HAVE_SYS_STAT_H +-#include <sys/stat.h> +-#endif +-#if HAVE_SYS_STATFS_H +-#include <sys/statfs.h> +-#endif +-#if HAVE_SYS_STATVFS_H +-#include <sys/statvfs.h> +-#endif +-],statvfs,f_files) ++dnl AC_CHECK_STRUCT_FOR([ ++dnl #ifdef HAVE_SYS_STAT_H ++dnl #include <sys/stat.h> ++dnl #endif ++dnl #if HAVE_SYS_STATFS_H ++dnl #include <sys/statfs.h> ++dnl #endif ++dnl #if HAVE_SYS_STATVFS_H ++dnl #include <sys/statvfs.h> ++dnl #endif ++dnl ],statvfs,f_frsize) ++ ++dnl AC_CHECK_STRUCT_FOR([ ++dnl #ifdef HAVE_SYS_STAT_H ++dnl #include <sys/stat.h> ++dnl #endif ++dnl #if HAVE_SYS_STATFS_H ++dnl #include <sys/statfs.h> ++dnl #endif ++dnl #if HAVE_SYS_STATVFS_H ++dnl #include <sys/statvfs.h> ++dnl #endif ++dnl ],statvfs,f_files) + + AC_CHECK_STRUCT_FOR([ + #if HAVE_NLIST_H |