Page MenuHomeFreeBSD

D57846.diff
No OneTemporary

D57846.diff

diff --git a/usr.sbin/makefs/Makefile b/usr.sbin/makefs/Makefile
--- a/usr.sbin/makefs/Makefile
+++ b/usr.sbin/makefs/Makefile
@@ -31,8 +31,6 @@
.include "${SRCDIR}/ffs/Makefile.inc"
.include "${SRCDIR}/msdos/Makefile.inc"
-CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
-
.PATH: ${SRCTOP}/contrib/mtree
CFLAGS+=-I${SRCTOP}/contrib/mtree
SRCS+= getid.c misc.c spec.c
diff --git a/usr.sbin/makefs/makefs.h b/usr.sbin/makefs/makefs.h
--- a/usr.sbin/makefs/makefs.h
+++ b/usr.sbin/makefs/makefs.h
@@ -43,7 +43,12 @@
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#else
+/* Settings used when building on FreeBSD. */
#define HAVE_STRUCT_STAT_ST_FLAGS 1
+#define HAVE_STRUCT_STAT_BIRTHTIME 1
+#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
+#define HAVE_STRUCT_STATVFS_F_IOSIZE 0
+#define HAVE_FSTATVFS 1
#endif
#include <sys/stat.h>

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 28, 7:58 PM (12 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34442145
Default Alt Text
D57846.diff (836 B)

Event Timeline