rpms/gpart/devel gpart-0.1h-largefile.patch, NONE, 1.1 gpart.spec, 1.7, 1.8
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Oct 22 18:57:37 UTC 2006
Author: dcantrel
Update of /cvs/dist/rpms/gpart/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11173
Modified Files:
gpart.spec
Added Files:
gpart-0.1h-largefile.patch
Log Message:
Compile with large file support (#211746)
gpart-0.1h-largefile.patch:
make.defs | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gpart-0.1h-largefile.patch ---
--- gpart-0.1h/make.defs.largefile 2006-10-22 14:49:44.000000000 -0400
+++ gpart-0.1h/make.defs 2006-10-22 14:51:12.000000000 -0400
@@ -2,7 +2,7 @@
#
#
CC = gcc
-CFLAGS = -Wall -O2
+CFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64
LDFLAGS =
MAKEDEP = gcc -M
INSTALL = install
Index: gpart.spec
===================================================================
RCS file: /cvs/dist/rpms/gpart/devel/gpart.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gpart.spec 12 Jul 2006 06:13:13 -0000 1.7
+++ gpart.spec 22 Oct 2006 18:57:34 -0000 1.8
@@ -1,13 +1,14 @@
Summary: A program for recovering corrupt partition tables.
Name: gpart
Version: 0.1h
-Release: 3.1
+Release: 4%{?dist}
ExclusiveArch: i386
Source: http://www.stud.uni-hannover.de/user/76201/%{name}/%{name}-%{version}.tar.gz
Patch0: gpart-0.1h-varname.patch
Patch1: gpart-0.1h-cflags.patch
Patch2: gpart-0.1h-errno.patch
Patch3: gpart-0.1h-syscall.patch
+Patch4: gpart-0.1h-largefile.patch
BuildRequires: glibc-kernheaders
Buildroot: %{_tmppath}/%{name}-root
@@ -20,10 +21,11 @@
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch0 -p1 -b .varname
+%patch1 -p1 -b .cflags
+%patch2 -p1 -b .errno
+%patch3 -p1 -b .syscall
+%patch4 -p1 -b .largefile
%build
make
@@ -42,6 +44,9 @@
%{_mandir}/*/*
%changelog
+* Sun Oct 22 2006 David Cantrell <dcantrell at redhat.com> - 0.1h-4
+- Compile with large file support (#211746)
+
* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.1h-3.1
- rebuild
More information about the fedora-cvs-commits
mailing list