aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/x11vnc/files/endian-fix.patch
blob: f2a538bf6323200ec74a8eb2b3a17684982e0cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
libvncserver: replace LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN

since macro AC_C_BIGENDIAN is used in autoconf and WORDS_BIGENDIAN is
automatically set for different arch, it is better to use WORDS_BIGENDIAN
instead of LIBVNCSERVER_WORDS_BIGENDIAN, which cuase issue in mips.

Signed-off-by: Yu Ke <ke.yu@intel.com>

Upstream-Status: Pending

diff --git a/libvncserver/main.c b/libvncserver/main.c
index b6bd930..8bbb7bf 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -47,7 +47,7 @@ static MUTEX(extMutex);
 
 static int rfbEnableLogging=1;
 
-#ifdef LIBVNCSERVER_WORDS_BIGENDIAN
+#ifdef WORDS_BIGENDIAN
 char rfbEndianTest = (1==0);
 #else
 char rfbEndianTest = (1==1);
xes OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/qemux86-directdisk.wks
blob: a6518a0f4593d862958b3528d432989778b5f46a (plain)
1
2
3
4
5
6
7
8
# short-description: Create a qemu machine 'pcbios' direct disk image
# long-description: Creates a partitioned legacy BIOS disk image that the user
# can directly use to boot a qemu machine.

include common.wks.inc

bootloader  --timeout=0  --append="vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda2 rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "