x11vnc: fix do_patch failed

Since the following commit applied in bitbake:
--------
commit 2afcbfef2cd1ca568e5225884a8021df38ee3db0
Author: Ross Burton <ross.burton@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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Hongxu Jia 2016-07-25 00:34:06 -04:00 committed by Martin Jansa
parent 292d8f1082
commit f5da6714fa

View File

@ -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"