From a14aa989b93f86712d3440728eee650d2fa8fdf0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 2 Dec 2016 19:04:15 -0800 Subject: libvncserver: Fix build with security flags on and disable libva When libva is present it detects it and then fails to build until the support is fixed, lets disable it Add a patch to fix issue found when compiling with security flags turned on Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb') diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb index 387202bee7..0eba87c5b2 100644 --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb @@ -14,6 +14,7 @@ SRC_URI = "\ ${DEBIAN_MIRROR}/main/libv/libvncserver/libvncserver_0.9.10+dfsg.orig.tar.xz \ file://0001-remove-webclients-build.patch \ file://0002-common-add-sha1.patch \ + file://0002-format_string.patch \ " SRC_URI[md5sum] = "e883b6c7bd339a5e1c48645051abe5c4" @@ -21,4 +22,6 @@ SRC_URI[sha256sum] = "583f28869b82aec57768d7d18cd7ff81bf092ecbbc1209b587c2c2cd68 S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}" +EXTRA_OECONF += "--without-libva" + TARGET_LDFLAGS += "-lgcrypt" -- cgit 1.2.3-korg