summaryrefslogtreecommitdiff
path: root/sysutils/mtools/Makefile
diff options
context:
space:
mode:
authortron <tron>2012-08-09 18:07:35 +0000
committertron <tron>2012-08-09 18:07:35 +0000
commit7ea75d169e578eab4378d0555ab892c3bea3c72c (patch)
treebce7c478d2776fa83fffb766dbb91bba7b805c90 /sysutils/mtools/Makefile
parente846380fbdeab53999cd7fed7fe724be054a1508 (diff)
downloadpkgsrc-7ea75d169e578eab4378d0555ab892c3bea3c72c.tar.gz
Pullup ticket #3891 - requested by is
sysutils/mtools: bug fix patch Revisions pulled up: - sysutils/mtools/Makefile 1.50 - sysutils/mtools/distinfo 1.18 --- Module Name: pkgsrc Committed By: is Date: Wed Aug 8 08:46:27 UTC 2012 Modified Files: pkgsrc/sysutils/mtools: Makefile distinfo Log Message: mtools-(at least)4.0.17 tries hard to configure and conditionally set types to use 64bit file offsets where available for seek()ing etc. However, the easy case (sizeof(off_t)>4) is handled incorrectly: mt_size_t is set to size_t - maybe a copy and paste from the fall-back-to-32bit case. This type is used at least in init.c, when detecting media size and comparing to the FAT geometry, consequently failing and erroring out with the message "Big disks not supported on this architecture." The patch does handle the (e.g. NetBSD) case of 64bit off_t the same as the case where a off64_t is available (and the other 64bit off_t-equivalent cases); namely using off_t as mt_size_t. Thanks to riastradh@ for pointing out where the bug in llong.h was.
Diffstat (limited to 'sysutils/mtools/Makefile')
-rw-r--r--sysutils/mtools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/mtools/Makefile b/sysutils/mtools/Makefile
index fe94eb199f0..3bfc7d431cd 100644
--- a/sysutils/mtools/Makefile
+++ b/sysutils/mtools/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2012/03/18 12:41:53 shattered Exp $
+# $NetBSD: Makefile,v 1.49.4.1 2012/08/09 18:07:35 tron Exp $
DISTNAME= mtools-4.0.17
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.mtools.linux.lu/
EXTRACT_SUFX= .tar.bz2