aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-04-08 01:28:52 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-04-08 01:28:52 +0800
commit9b12d73c93e19421adbe8347bba5cc44f11da305 (patch)
tree3f5b27204ee8ed06472b110822f89970ddc59e10 /emulators
parent7cebede477781c02202a1bc87c97b96d1fda1058 (diff)
downloadfreebsd-ports-gnome-9b12d73c93e19421adbe8347bba5cc44f11da305.tar.gz
freebsd-ports-gnome-9b12d73c93e19421adbe8347bba5cc44f11da305.tar.zst
freebsd-ports-gnome-9b12d73c93e19421adbe8347bba5cc44f11da305.zip
Handle FAT partitions bigger then 4GBytes
PR: ports/133123 Submitted by: Dmitry <hanabana@mail.ru> Approved by: wxs (mentor)
Diffstat (limited to 'emulators')
-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}