From b35b928f96ac1d429cfaccc3da55f656f6e568683b01f892f512f32975e217a8 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 20 Apr 2015 15:18:07 +0000 Subject: [PATCH] Accepting request 297595 from home:michel_mno:branches:X11:XOrg - Add xorg-x11-server-byte-order.patch to correctly set X_BYTE_ORDER when compiling tigervnc on ppc64 architecture. Related to bnc#926201 OBS-URL: https://build.opensuse.org/request/show/297595 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=567 --- xorg-x11-server-byte-order.patch | 36 ++++++++++++++++++++++++++++++++ xorg-x11-server.changes | 7 +++++++ xorg-x11-server.spec | 2 ++ 3 files changed, 45 insertions(+) create mode 100644 xorg-x11-server-byte-order.patch diff --git a/xorg-x11-server-byte-order.patch b/xorg-x11-server-byte-order.patch new file mode 100644 index 0000000..e2a28f5 --- /dev/null +++ b/xorg-x11-server-byte-order.patch @@ -0,0 +1,36 @@ +From 1f679da30a33f3ddad14bc6b2be0795160ae12b8 Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Thu, 9 Apr 2015 10:19:13 -0400 +Subject: [PATCH] include: Fix endianness setup + +Need to make sure X_{BIG,LITTLE}_ENDIAN actually get defined + +Signed-off-by: Adam Jackson +--- + include/dix-config.h.in | 1 + + include/xorg-server.h.in | 1 + + 2 files changed, 2 insertions(+) + +Index: a/include/dix-config.h.in +=================================================================== +--- a.orig/include/dix-config.h.in ++++ a/include/dix-config.h.in +@@ -499,6 +499,7 @@ + + /* byte order */ + #undef X_BYTE_ORDER ++#include + + /* Listen on TCP socket */ + #undef LISTEN_TCP +Index: a/include/xorg-server.h.in +=================================================================== +--- a.orig/include/xorg-server.h.in ++++ a/include/xorg-server.h.in +@@ -233,5 +233,6 @@ + + /* byte order */ + #undef X_BYTE_ORDER ++#include + + #endif /* _XORG_SERVER_H_ */ diff --git a/xorg-x11-server.changes b/xorg-x11-server.changes index d59845c..155ba7d 100644 --- a/xorg-x11-server.changes +++ b/xorg-x11-server.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 17 08:14:31 UTC 2015 - normand@linux.vnet.ibm.com + +- Add xorg-x11-server-byte-order.patch to correctly set + X_BYTE_ORDER when compiling tigervnc on ppc64 architecture. + Related to bnc#926201 + ------------------------------------------------------------------- Mon Mar 30 11:22:28 UTC 2015 - msrb@suse.com diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 30c43d4..9fb2705 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -166,6 +166,7 @@ Patch113: u_symbols-Fix-sdksyms.sh-to-cope-with-gcc5.patch Patch114: u_ad-hoc-fix-for-mmap-s-truncated-offset-parameter-on-.patch Patch115: N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch Patch116: U_os-XDMCP-options-like-query-etc-should-imply-listen.patch +Patch117: xorg-x11-server-byte-order.patch Patch1000: n_xserver-optimus-autoconfig-hack.patch @@ -257,6 +258,7 @@ cp %{SOURCE90} . %patch114 -p1 %patch115 -p1 %patch116 -p1 +%patch117 -p1 %patch1000 -p1