Patchwork [master] wayland: add necessary dependencies to fix build error

login
register
mail settings
Submitter Zhenhua Luo
Date April 11, 2013, 8:31 a.m.
Message ID <1365669088-18442-1-git-send-email-zhenhua.luo@freescale.com>
Download mbox | patch
Permalink /patch/47895/
State Accepted
Commit 2ef72c3174c8c111678ac7e3cf3d866eaf2c8d77
Headers show

Comments

Zhenhua Luo - April 11, 2013, 8:31 a.m.
add libffi into DEPENDS to fix following build error:
| checking for FFI... no
| configure: error: Package requirements (libffi) were not met:
|
| No package 'libffi' found

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 meta/recipes-graphics/wayland/wayland_1.0.6.bb |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Ross Burton - April 11, 2013, 8:38 a.m.
On 11 April 2013 09:31, Zhenhua Luo <zhenhua.luo@freescale.com> wrote:
> add libffi into DEPENDS to fix following build error:
> | checking for FFI... no
> | configure: error: Package requirements (libffi) were not met:
> |
> | No package 'libffi' found
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>

Signed-off-by: Ross Burton <ross.burton@intel.com>

Patch

diff --git a/meta/recipes-graphics/wayland/wayland_1.0.6.bb b/meta/recipes-graphics/wayland/wayland_1.0.6.bb
index 6385933..1585479 100644
--- a/meta/recipes-graphics/wayland/wayland_1.0.6.bb
+++ b/meta/recipes-graphics/wayland/wayland_1.0.6.bb
@@ -10,6 +10,8 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72 \
                     file://src/wayland-server.c;endline=21;md5=079ae21dbf98ada52ec23744851b0a5c"
 
+PR = "r1"
+
 SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "936a2590aea69fa3c0cf234d54b9137c"
 SRC_URI[sha256sum] = "f52a012df699eff434b0f49e56000d6978b5f781048402ca8e0232242970fc49"
@@ -19,8 +21,8 @@  inherit autotools pkgconfig
 # We need wayland-native for the wayland-scanner utility
 BBCLASSEXTEND = "native"
 
-DEPENDS_virtclass-native = "expat-native"
-DEPENDS = "expat wayland-native"
+DEPENDS_virtclass-native = "expat-native libffi-native"
+DEPENDS = "expat libffi wayland-native"
 
 EXTRA_OECONF_virtclass-native = "--disable-documentation"
 EXTRA_OECONF = "--disable-documentation --disable-scanner"