]> code.ossystems Code Review - openembedded-core.git/commit
x11vnc: fix the endian issue in mips for bug 782
authorYu Ke <ke.yu@intel.com>
Fri, 4 Mar 2011 13:11:37 +0000 (21:11 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 4 Mar 2011 19:37:09 +0000 (11:37 -0800)
commitda4b22c8bdf00813164d8830e52e1d6ad35cdd94
tree19c3815cd5f8e44023d55ce0b90c73bd7bf37cc5
parent48181023314ac09743b958b0035399797fe6cff9
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 <raj.khem@gmail.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
meta/recipes-graphics/x11vnc/files/endian-fix.patch [new file with mode: 0644]
meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb