Patchwork [03/12] udev 165: depends on mtd-utils to fix compilation

login
register
mail settings
Submitter Denis Carikli
Date May 13, 2011, 12:43 p.m.
Message ID <1305290588-7057-3-git-send-email-GNUtoo@no-log.org>
Download mbox | patch
Permalink /patch/3955/
State Accepted
Headers show

Comments

Denis Carikli - May 13, 2011, 12:43 p.m.
Without that fix we have:
    CC     udev/udev-event.o
  In file included from extras/mtd_probe/mtd_probe.c:19:0:
  extras/mtd_probe/mtd_probe.h:20:26: fatal error: mtd/mtd-user.h: No such file or directory
  compilation terminated.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
---
 recipes/udev/udev_165.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Stefan Schmidt - May 13, 2011, 6:07 p.m.
Hello.

On Fri, 2011-05-13 at 14:43, Denis 'GNUtoo' Carikli wrote:
> Without that fix we have:
>     CC     udev/udev-event.o
>   In file included from extras/mtd_probe/mtd_probe.c:19:0:
>   extras/mtd_probe/mtd_probe.h:20:26: fatal error: mtd/mtd-user.h: No such file or directory
>   compilation terminated.
> 
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>

Acked-by: Stefan Schmidt <stefan@buglabs.net>

> ---
>  recipes/udev/udev_165.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb
> index bad847b..f909256 100644
> --- a/recipes/udev/udev_165.bb
> +++ b/recipes/udev/udev_165.bb
> @@ -3,13 +3,13 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
>  the hotplug package and requires a kernel not older than 2.6.12."
>  LICENSE = "GPLv2+"
>  
> -PR = "r5"
> +PR = "r6"
>  
>  # Untested
>  DEFAULT_PREFERENCE = "-1"
>  
>  # Needed for udev-extras
> -DEPENDS = "gperf-native usbutils acl glib-2.0"
> +DEPENDS = "gperf-native usbutils acl glib-2.0 mtd-utils"
>  RDEPENDS_${PN} += "module-init-tools-depmod udev-utils"
>  
>  SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
> -- 
> 1.7.0.4
>

Patch

diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb
index bad847b..f909256 100644
--- a/recipes/udev/udev_165.bb
+++ b/recipes/udev/udev_165.bb
@@ -3,13 +3,13 @@  DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 LICENSE = "GPLv2+"
 
-PR = "r5"
+PR = "r6"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"
 
 # Needed for udev-extras
-DEPENDS = "gperf-native usbutils acl glib-2.0"
+DEPENDS = "gperf-native usbutils acl glib-2.0 mtd-utils"
 RDEPENDS_${PN} += "module-init-tools-depmod udev-utils"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \