rpms/grub/devel grub-0.97-xfs-writable-strings.patch, NONE, 1.1 grub.spec, 1.98, 1.99

Peter Jones pjones at fedoraproject.org
Tue Jun 30 17:28:42 UTC 2009


Author: pjones

Update of /cvs/extras/rpms/grub/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32723

Modified Files:
	grub.spec 
Added Files:
	grub-0.97-xfs-writable-strings.patch 
Log Message:
* Tue Jun 30 2009 Peter Jones <pjones at redhat.com> - 0.97-52
- Don't assume that gcc provides us with writable strings in the xfs driver


grub-0.97-xfs-writable-strings.patch:

--- NEW FILE grub-0.97-xfs-writable-strings.patch ---
Index: stage2/fsys_xfs.c
===================================================================
RCS file: /cvsroot/grub/grub/stage2/fsys_xfs.c,v
retrieving revision 1.4
diff -u -b -B -r1.4 fsys_xfs.c
--- grub-0.97/stage2/fsys_xfs.c	18 Jan 2004 19:47:18 -0000	1.4
+++ grub-0.97/stage2/fsys_xfs.c	28 Apr 2005 23:39:08 -0000
@@ -334,7 +334,7 @@
 {
 	int namelen = 1;
 	int toread;
-	static char *usual[2] = {".", ".."};
+	static char usual[2][3] = {".", ".."};
 	static xfs_dir2_sf_entry_t *sfe;
 	char *name = usual[0];
 


Index: grub.spec
===================================================================
RCS file: /cvs/extras/rpms/grub/devel/grub.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -p -r1.98 -r1.99
--- grub.spec	29 Jun 2009 21:49:39 -0000	1.98
+++ grub.spec	30 Jun 2009 17:28:12 -0000	1.99
@@ -44,6 +44,7 @@ Patch15: grub-low-memory.patch
 Patch16: grub-install_virtio_blk_support.patch
 Patch17: grub-fix-memory-corruption.patch
 Patch18: grub-ext4-support.patch
+Patch19: grub-0.97-xfs-writable-strings.patch
 
 %description
 GRUB (Grand Unified Boot Loader) is an experimental boot loader
@@ -72,6 +73,7 @@ systems.
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 
 %build
 autoreconf
@@ -134,6 +136,9 @@ fi
 %{_datadir}/grub
 
 %changelog
+* Tue Jun 30 2009 Peter Jones <pjones at redhat.com> - 0.97-52
+- Don't assume that gcc provides us with writable strings in the xfs driver
+
 * Mon Jun 29 2009 Peter Jones <pjones at redhat.com> - 0.97-52
 - Add ext4 support (#486284)
 




More information about the fedora-extras-commits mailing list