rpms/e2fsprogs/devel ext2resize-fixbuild.patch, NONE, 1.1 e2fsprogs.spec, 1.55, 1.56

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jun 14 02:36:17 UTC 2006


Author: notting

Update of /cvs/dist/rpms/e2fsprogs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv823

Modified Files:
	e2fsprogs.spec 
Added Files:
	ext2resize-fixbuild.patch 
Log Message:
fix build


ext2resize-fixbuild.patch:
 ext2_unix_io.c |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE ext2resize-fixbuild.patch ---
--- ext2resize-1.1.19/src/ext2_unix_io.c.fixbuild	2006-06-13 22:30:58.000000000 -0400
+++ ext2resize-1.1.19/src/ext2_unix_io.c	2006-06-13 22:31:07.000000000 -0400
@@ -34,6 +34,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
+#include <linux/fs.h>
 #include "ext2.h"
 
 #ifndef O_LARGEFILE


Index: e2fsprogs.spec
===================================================================
RCS file: /cvs/dist/rpms/e2fsprogs/devel/e2fsprogs.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- e2fsprogs.spec	14 Jun 2006 01:41:44 -0000	1.55
+++ e2fsprogs.spec	14 Jun 2006 02:36:08 -0000	1.56
@@ -18,6 +18,7 @@
 Patch19: ext2resize-byteorder.patch
 Patch20: ext2resize-nofallback.patch
 Patch21: ext2resize-nowrite.patch
+Patch22: ext2resize-fixbuild.patch
 Patch26: e2fsprogs-1.37-blkid-swsuspend.patch
 Patch27: e2fsprogs-1.37-blkid-ext23.patch
 Patch28: e2fsprogs-1.37-blkid-nomagicvfat.patch
@@ -110,6 +111,8 @@
 %patch20 -p2 -b .nofallback
 # Disable the write path used by old-style online
 %patch21 -p2 -b .nowrite
+# Use the kernel prototypes, as they don't cause errors
+%patch22 -p1 -b .fixbuild
 popd
 
 # drop ext2resize, ext2prepare and e2fsadm from man page of ext2online
@@ -312,6 +315,7 @@
 %changelog
 * Tue Jun 13 2006 Bill Nottingham <notting at redhat.com> - 1.38-15
 - prevent libblkid returning /dev/dm-X
+- fix build
 
 * Tue Mar 21 2006 Karel Zak <kzak at redhat.com> - 1.38-14
 - prevent error messages to stderr caused by libblkid calling libdevmapper




More information about the fedora-cvs-commits mailing list