fix work with disk image files > 4GB (#191198)

This commit is contained in:
Peter Vrabec 2006-05-11 09:17:57 +00:00
parent 31e9f2e7b8
commit cfdbdecde6

View File

@ -1,13 +1,12 @@
Name: dosfstools
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux.
Version: 2.11
Release: 4.2
Release: 5
License: GPL
Group: Applications/System
Source: ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-%{version}.src.tar.gz
Patch1: dosfstools-2.7-argfix.patch
Patch2: dosfstools-2.11-assumeKernel26.patch
Patch3: dosfstools-2.11-lseek.patch
Patch4: dosfstools-2.11-fortify.patch
BuildRoot: %{_tmppath}/%{name}-root
Obsoletes: mkdosfs-ygg
@ -21,11 +20,10 @@ drives or on floppies.
%setup -q
%patch1 -p1 -b .argfix
%patch2 -p1 -b .assumeKernel26
%patch3 -p1 -b .lseek
%patch4 -p1 -b .fortify
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -Dllseek=lseek64 -D_LARGEFILE64_SOURCE"
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
%install
rm -rf %{buildroot}
@ -56,6 +54,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/*
%changelog
* Thu May 11 2006 Peter Vrabec <pvrabec@redhat.com> 2.11-5
- fix work with disk image files > 4GB (#191198)
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.11-4.2
- bump again for double-long bug on ppc(64)