diff --git a/srcpkgs/dosfstools/patches/dosfstools-loff_and_BLOCK_SIZE.patch b/srcpkgs/dosfstools/patches/dosfstools-loff_and_BLOCK_SIZE.patch new file mode 100644 index 00000000000..6c5d6c7d254 --- /dev/null +++ b/srcpkgs/dosfstools/patches/dosfstools-loff_and_BLOCK_SIZE.patch @@ -0,0 +1,31 @@ +--- src/fsck.fat.h ++++ src/fsck.fat.h +@@ -27,6 +27,7 @@ + #ifndef _DOSFSCK_H + #define _DOSFSCK_H + ++#include + #include + #define _LINUX_STAT_H /* hack to avoid inclusion of */ + #define _LINUX_STRING_H_ /* hack to avoid inclusion of */ +--- src/io.h ++++ src/io.h +@@ -27,7 +27,7 @@ + #ifndef _IO_H + #define _IO_H + +-#include /* for loff_t */ ++#include /* for loff_t */ + + loff_t llseek(int fd, loff_t offset, int whence); + +--- src/mkfs.fat.c ++++ src/mkfs.fat.c +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/dosfstools/template b/srcpkgs/dosfstools/template index 807b5dd83ff..552fba8fae6 100644 --- a/srcpkgs/dosfstools/template +++ b/srcpkgs/dosfstools/template @@ -1,7 +1,7 @@ # Template file for 'dosfstools' pkgname=dosfstools version=3.0.24 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="PREFIX=/usr SBINDIR=/usr/bin" short_desc="DOS filesystem tools" @@ -10,7 +10,3 @@ homepage="http://www.daniel-baumann.ch/software/$pkgname" license="GPL-2" distfiles="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-${version}.tar.xz" checksum=1e21b7e7c8872fb3debf2a7fdc8c223a5f592a6efa8ae181a92f558ed28274c1 -long_desc=" - The dosfstools package includes the mkdosfs (a.k.a. mkfs.dos and mkfs.vfat) - and dosfsck (a.k.a. fsck.msdos and fsck.vfat) utilities, which respectively - make and check MS-DOS FAT filesystems on hard drives or on floppies."