From 87290a8497e892a65bde4755c4fee8b8ca93424b Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Fri, 4 Mar 2011 21:11:37 +0800 Subject: x11vnc: fix the endian issue in mips for bug 782 x11vnc use LIBVNCSERVER_WORDS_BIGENDIAN to handle the endian, however it is not set correctly when cross-compile for mips, thus x11vnc mips does not work correctly. meanwhile, x11vnc has the autconf macro AC_C_BIGENDIAN which can handle the endian correctly. so this patch replace the LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN (generated by AC_C_BIGENDIAN) to fix this issue. this patch fix the bug [YOCTO #782] this appraoch is suggested by Khem Raj CC: Khem Raj (From OE-Core rev: da4b22c8bdf00813164d8830e52e1d6ad35cdd94) Signed-off-by: Yu Ke Signed-off-by: Richard Purdie --- meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb') diff --git a/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb b/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb index f5a6662660..f92eb49a8c 100644 --- a/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb +++ b/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb @@ -9,8 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f \ DEPENDS = "openssl virtual/libx11 libxext avahi jpeg zlib" +PR = "r1" + SRC_URI = "${SOURCEFORGE_MIRROR}/libvncserver/x11vnc-${PV}.tar.gz\ - file://starting-fix.patch" + file://starting-fix.patch \ + file://endian-fix.patch " SRC_URI[md5sum] = "1498a68d02aa7b6c97bf746c073c8d00" SRC_URI[sha256sum] = "60a7cceee2c9a5f1c854340b2bae13f975ac55906237042f81f795b28a154a79" -- cgit v1.2.3-54-g00ecf