summaryrefslogtreecommitdiff
path: root/package/genimage/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-05 20:18:22 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-05 20:18:22 +0200
commit857e9176a37ec642e007ea33c142ee3fb87bbf85 (patch)
treec63e1d1d410e4c1c723ebd81f005bda30aa193ad /package/genimage/patches
parentb77c38c0181a952c23f9c219917a1b523b2ecc1a (diff)
add hosttool genimage
Diffstat (limited to 'package/genimage/patches')
-rw-r--r--package/genimage/patches/patch-image-rauc_c11
-rw-r--r--package/genimage/patches/patch-image-vfat_c11
2 files changed, 22 insertions, 0 deletions
diff --git a/package/genimage/patches/patch-image-rauc_c b/package/genimage/patches/patch-image-rauc_c
new file mode 100644
index 000000000..291f29b30
--- /dev/null
+++ b/package/genimage/patches/patch-image-rauc_c
@@ -0,0 +1,11 @@
+--- genimage-9.orig/image-rauc.c 2016-08-15 12:35:48.000000000 +0200
++++ genimage-9/image-rauc.c 2016-09-05 19:59:47.000000000 +0200
+@@ -62,7 +62,7 @@ static int rauc_generate(struct image *i
+ }
+
+ /* create parent directories if target needs it */
+- path = strdupa(target);
++ path = strdup(target);
+ tmp = strrchr(path, '/');
+ if (tmp) {
+ *tmp = '\0';
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) {