aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-17 15:04:26 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-17 15:04:26 +0100
commitb7e9814253f4b8f61e68d9aa7f518c1404cf417f (patch)
treed30408cd8f13b8d3c57437e41b514573ca1a4eae /recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch
parente3df24d64a48aff19aa9960dd9308a071b243b09 (diff)
parent727b276ed3d414662f19ec66e80f7b3dc029bca5 (diff)
downloadopenembedded-b7e9814253f4b8f61e68d9aa7f518c1404cf417f.tar.gz
Merge commit 'origin/org.openembedded.dev' into shr/merge
Diffstat (limited to 'recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch')
-rw-r--r--recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch b/recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch
new file mode 100644
index 0000000000..326d197167
--- /dev/null
+++ b/recipes/qemu/qemu-0.10.3/fix_fortify_source_compilation.patch
@@ -0,0 +1,13 @@
+--- qemu-0.10.3/block-vvfat.c.orig 2009-05-01 21:02:44 +0400
++++ qemu-0.10.3/block-vvfat.c 2009-12-15 22:06:04 +0300
+@@ -865,7 +865,9 @@
+ {
+ direntry_t* entry=array_get_next(&(s->directory));
+ entry->attributes=0x28; /* archive | volume label */
+- snprintf((char*)entry->name,11,"QEMU VVFAT");
++ /* snprintf((char*)entry->name,11,"QEMU VVFAT"); */
++ snprintf(entry->name, sizeof(entry->name), "QEMU VV");
++ snprintf(entry->extension, sizeof(entry->extension), "FAT");
+ }
+
+ /* Now build FAT, and write back information into directory */