You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

--- doc/Makefile.in.orig 2004-03-11 09:57:59.000000000 +0100
+++ doc/Makefile.in 2004-04-21 15:11:16.000000000 +0200
@@ -600,7 +600,7 @@
mv t-$@ $@
$(DVIS): $(EXTRA_DIST)
-$(INFO_DEPS): $(EXTRA_DIST)
+###$(INFO_DEPS): $(EXTRA_DIST)
# List words/regexps here that should not appear in the texinfo documentation.
check-texinfo:
--- src/stat.c.orig Sun Dec 1 10:48:21 2002
+++ src/stat.c Sun Jan 12 11:30:01 2003
@@ -43,6 +43,12 @@
# endif
#endif
+/* FreeBSD 5.0 need this for struct statfs */
+#if HAVE_SYS_MOUNT_H
+# include <sys/param.h>
+# include <sys/mount.h>
+#endif
+
#include "system.h"
#include "closeout.h"
--- src/nice.c.orig 2003-08-10 19:43:35.000000000 +0200
+++ src/nice.c 2003-09-10 20:03:27.000000000 +0200
@@ -23,6 +23,7 @@
#include <assert.h>
#include <getopt.h>
+#include <sys/time.h>
#include <sys/types.h>
#include "system.h"
--- lib/mountlist.c.orig Mon Jan 26 03:58:12 2004
+++ lib/mountlist.c
@@ -173,6 +173,11 @@ xatoi (char *cp)
#if MOUNTED_GETMNTINFO
+# if defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)
+# define statfs statvfs
+# define HAVE_F_FSTYPENAME_IN_STATFS 1
+# endif
+
# if ! HAVE_F_FSTYPENAME_IN_STATFS
static char *
fstype_to_string (short t)
--- src/stat.c.orig Thu Feb 5 08:46:12 2004
+++ src/stat.c
@@ -86,6 +86,12 @@
# endif
#endif
+#if (defined(__NetBSD__) && (__NetBSD_Version__ > 299000000))
+#include <sys/statvfs.h>
+#define statfs statvfs
+#define STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME f_fstypename
+#endif
+
#define PROGRAM_NAME "stat"
#define AUTHORS "Michael Meskes"