1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[std]= DOS filesystem utilities
9 HOMEPAGE= https://github.com/dosfstools/dosfstools
13 SITES[main]= https://github.com/dosfstools/dosfstools/releases/download/v4.2/
14 DISTFILE[1]= dosfstools-4.2.tar.gz:main
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
26 LICENSE= GPLv3+:primary
27 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
28 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
29 LICENSE_AWK= TERMS:"_FAT_H"
30 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/fat.h
33 CPE_VENDOR= dosfstools_project
37 [FILE:128:descriptions/desc.primary]
38 dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to
39 create, check and label file systems of the FAT family.
43 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527 320917 dosfstools-4.2.tar.gz
46 [FILE:36:manifests/plist.primary]
53 [FILE:214:manifests/plist.docs]
59 ChangeLog.dosfstools-2.x
69 [FILE:52:manifests/plist.man]
76 [FILE:742:patches/patch-src_blkdev_blkdev.c]
77 --- src/blkdev/blkdev.c.orig 2021-01-31 12:49:12 UTC
78 +++ src/blkdev/blkdev.c
80 #include <sys/types.h>
82 #include <sys/ioctl.h>
83 +#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
84 #include <sys/sysmacros.h>
89 @@ -137,6 +139,7 @@ blkdev_get_size(int fd, unsigned long lo
92 #ifdef HAVE_SYS_DISKLABEL_H
93 +# if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
96 * This code works for FreeBSD 4.11 i386, except for the full device
97 @@ -164,6 +167,7 @@ blkdev_get_size(int fd, unsigned long lo
102 #endif /* HAVE_SYS_DISKLABEL_H */
107 [FILE:572:patches/patch-src_device__info.c]
108 --- src/device_info.c.orig 2021-01-31 12:49:12 UTC
109 +++ src/device_info.c
111 #include <sys/types.h>
112 #include <sys/stat.h>
113 #include <sys/ioctl.h>
114 +#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
115 #include <sys/sysmacros.h>
118 #ifdef HAVE_LINUX_LOOP_H
119 #include <linux/loop.h>
120 @@ -334,7 +336,11 @@ int is_device_mounted(const char *path)
123 #if HAVE_DECL_GETMNTINFO
125 + struct statvfs *stat;
131 count = getmntinfo(&stat, 0);