From 857e9176a37ec642e007ea33c142ee3fb87bbf85 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 5 Sep 2016 20:18:22 +0200 Subject: add hosttool genimage --- package/genimage/patches/patch-image-vfat_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/genimage/patches/patch-image-vfat_c (limited to 'package/genimage/patches/patch-image-vfat_c') diff --git a/package/genimage/patches/patch-image-vfat_c b/package/genimage/patches/patch-image-vfat_c new file mode 100644 index 000000000..a7b748a6c --- /dev/null +++ b/package/genimage/patches/patch-image-vfat_c @@ -0,0 +1,11 @@ +--- genimage-9.orig/image-vfat.c 2016-01-12 17:49:29.000000000 +0100 ++++ genimage-9/image-vfat.c 2016-09-05 19:59:30.000000000 +0200 +@@ -42,7 +42,7 @@ static int vfat_generate(struct image *i + struct image *child = image_get(part->image); + const char *file = imageoutfile(child); + const char *target = part->name; +- char *path = strdupa(target); ++ char *path = strdup(target); + char *next = path; + + while ((next = strchr(next, '/')) != NULL) { -- cgit v1.2.3