diff options
Diffstat (limited to 'devel/physfs')
-rw-r--r-- | devel/physfs/distinfo | 3 | ||||
-rw-r--r-- | devel/physfs/patches/patch-ac | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo index 0ee9c413097..f17aa7cc5b3 100644 --- a/devel/physfs/distinfo +++ b/devel/physfs/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2003/07/13 20:49:29 dillo Exp $ +$NetBSD: distinfo,v 1.3 2004/09/15 16:45:44 agc Exp $ SHA1 (physfs-0.1.8.tar.gz) = 0fc4ed9d72df84279718b57d54c4b8f4f76286a2 Size (physfs-0.1.8.tar.gz) = 462702 bytes SHA1 (patch-aa) = 2a56434b2979206fc3e8c4a5a3ab1eeaed715bda SHA1 (patch-ab) = daba84c3d776ff08f8b168370d9079eff3546634 +SHA1 (patch-ac) = d382c0272de4e4fd8bb179909471f7f8e6b4f874 diff --git a/devel/physfs/patches/patch-ac b/devel/physfs/patches/patch-ac new file mode 100644 index 00000000000..c9fd15442b6 --- /dev/null +++ b/devel/physfs/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1 2004/09/15 16:45:44 agc Exp $ + +--- platform/unix.c 2004/09/15 16:35:55 1.1 ++++ platform/unix.c 2004/09/15 16:40:46 +@@ -77,11 +77,19 @@ + + #ifdef PHYSFS_HAVE_SYS_UCRED_H + ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) ++#include <sys/statvfs.h> ++ ++#define STATVFS_TYPE statvfs ++#else ++#define STATVFS_TYPE statfs ++#endif ++ + char **__PHYSFS_platformDetectAvailableCDs(void) + { + char **retval = (char **) malloc(sizeof (char *)); + int cd_count = 1; /* We count the NULL entry. */ +- struct statfs *mntbufp = NULL; ++ struct STATVFS_TYPE *mntbufp = NULL; + int mounts; + int i; + |