Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160783583
D57846.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
836 B
Referenced Files
None
Subscribers
None
D57846.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D57846: makefs: Fix build on FreeBSD to handle birthtimes and other things
Attached
Detach File
Event Timeline
Log In to Comment