Sat Jan 21 20:05:27 2012 UTC ()
Always redefine DEV_BSIZE=512.
All references of DEV_BSIZE in tools are to manipulate target
(i.e. NetBSD's) file images (in installboot(8) and makefs(8) etc.) and
no host's DEV_BSIZE is required for the moment.  Closes PR toolchain/42574.


(tsutsui)
diff -r1.82 -r1.83 src/tools/compat/compat_defs.h

cvs diff -r1.82 -r1.83 src/tools/compat/compat_defs.h (expand / switch to context diff)
--- src/tools/compat/compat_defs.h 2011/11/03 14:13:53 1.82
+++ src/tools/compat/compat_defs.h 2012/01/21 20:05:27 1.83
@@ -1,4 +1,4 @@
-/*	$NetBSD: compat_defs.h,v 1.82 2011/11/03 14:13:53 joerg Exp $	*/
+/*	$NetBSD: compat_defs.h,v 1.83 2012/01/21 20:05:27 tsutsui Exp $	*/
 
 #ifndef	__NETBSD_COMPAT_DEFS_H__
 #define	__NETBSD_COMPAT_DEFS_H__
@@ -1052,9 +1052,9 @@
 #define BYTE_ORDER LITTLE_ENDIAN
 #endif
 
-#ifndef DEV_BSIZE
+/* all references of DEV_BSIZE in tools are for NetBSD's file images */
+#undef DEV_BSIZE
 #define DEV_BSIZE (1 << 9)
-#endif
 
 #undef MIN
 #undef MAX