[oe] [PATCH] x11vnc: fix do_patch failed

Hongxu Jia hongxu.jia at windriver.com
Mon Jul 25 04:34:06 UTC 2016


Since the following commit applied in bitbake:
--------
commit 2afcbfef2cd1ca568e5225884a8021df38ee3db0
Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Jul 14 19:56:22 2016 +0100

    bitbake: build: don't use $B as the default cwd for functions
--------

We need to parse file with absolute path.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
index 98a0734..b047bc4 100644
--- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
+++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
@@ -29,6 +29,6 @@ PACKAGECONFIG[libvncserver] = "--with-system-libvncserver,--without-system-libvn
 
 do_prepare_sources () {
     # Remove old libtool macros from acinclude.m4
-    sed -i -e '/^# libtool.m4/q' acinclude.m4
+    sed -i -e '/^# libtool.m4/q' ${S}/acinclude.m4
 }
 do_patch[postfuncs] += "do_prepare_sources"
-- 
2.8.1




More information about the Openembedded-devel mailing list