xorg-x11-server/xorg-x11-server-byte-order.patch
Michal Srb b35b928f96 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
2015-04-20 15:18:07 +00:00

37 lines
996 B
Diff

From 1f679da30a33f3ddad14bc6b2be0795160ae12b8 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
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 <ajax@redhat.com>
---
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 <X11/Xarch.h>
/* 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 <X11/Xarch.h>
#endif /* _XORG_SERVER_H_ */