On Tue, Jun 19, 2012 at 9:47 AM, Andrea Adami <[email protected]> wrote:
> * v2 replaces malformed v1 patch
> * fix build, broken by header upgrade
> * bump PR
>
> Signed-off-by: Andrea Adami <[email protected]>
> ---
>  .../mtd/ubi-utils-klibc/libubi.c.patch             |   17 +++++++++++++++++
>  1 files changed, 17 insertions(+), 0 deletions(-)
>
> diff --git 
> a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch 
> b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
> index db95904..048e39b 100644
> --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
> +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
> @@ -9,3 +9,20 @@
>  {
>        int fd, ret;
>
> +@@ -1352,13 +1352,13 @@
> +
> + int ubi_set_property(int fd, uint8_t property, uint64_t value)
> + {
> +-      struct ubi_set_prop_req r;
> ++      struct ubi_set_vol_prop_req r;
> +
> +-      memset(&r, 0, sizeof(struct ubi_set_prop_req));
> ++      memset(&r, 0, sizeof(struct ubi_set_vol_prop_req));
> +       r.property = property;
> +       r.value = value;
> +
> +-      return ioctl(fd, UBI_IOCSETPROP, &r);
> ++      return ioctl(fd, UBI_IOCSETVOLPROP, &r);
> + }
> +
> + int ubi_leb_unmap(int fd, int lnum)
> --
> 1.7.3.4
>

This strange renaming issue happened today, with stock linux-libc-headers.
I'm trying to understand why right now I get still pre-3.0 headers...
this is mtd/ubi-user.h

Anyhow, this patch is superseded by the next one, committing ver. 1.5.0

Andrea

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to