ports/sysutils/fsck_ext2fs/files/patch-ab

18 lines
487 B
Text

--- fsck_ext2fs/setup.c.orig Wed Apr 26 16:26:06 2000
+++ fsck_ext2fs/setup.c Sun Oct 20 17:38:55 2002
@@ -48,6 +48,7 @@
#endif /* not lint */
#define DKTYPENAMES
+#define FSTYPENAMES
#include <sys/param.h>
#include <sys/time.h>
#include <ufs/ext2fs/ext2fs_dinode.h>
@@ -69,6 +70,7 @@
#include "fsutil.h"
#define POWEROF2(num) (((num) & ((num) - 1)) == 0)
+#define FS_EXT2FS 17 /* ext2fs */
void badsb __P((int, char *));
int calcsb __P((char *, int, struct m_ext2fs *));