aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-07 17:28:52 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-07 17:28:52 +0000
commitef029c2de009bcbdc10cc18e5a66febce43d9884 (patch)
tree0613df46ca79527ca831cb9c53b9a3c349cbebfb /emulators/mtools
parent7ce1eef19aaaad5e36fc3a4df4873532b96032b2 (diff)
downloadports-ef029c2de009bcbdc10cc18e5a66febce43d9884.tar.gz
ports-ef029c2de009bcbdc10cc18e5a66febce43d9884.zip
Handle FAT partitions bigger then 4GBytes
PR: ports/133123 Submitted by: Dmitry <hanabana@mail.ru> Approved by: wxs (mentor)
Notes
Notes: svn path=/head/; revision=231801
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 41b129f8bccd..a157c3e410c1 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mtools
PORTVERSION= 4.0.10
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= mtools
@@ -49,6 +50,9 @@ MAN1+= floppyd.1 floppyd_installtest.1
.endif
post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^#define MT_SIZE_T size_t|#define MT_SIZE_T off_t|g' \
+ ${WRKSRC}/llong.h
.for file in mformat.c
@${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \
${WRKSRC}/${file}